Skip to content

fix: Fix nil-pointer deref on checkAuthorization #5236

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 1, 2022

Conversation

mafredri
Copy link
Member

@mafredri mafredri commented Dec 1, 2022

Remove call to err.Error() on a nil error in checkAuthorization.

Remove call to `err.Error()` on a `nil` error in `checkAuthorization`.
@mafredri mafredri self-assigned this Dec 1, 2022
@mafredri mafredri requested a review from a team December 1, 2022 17:38
@mafredri mafredri enabled auto-merge (squash) December 1, 2022 17:48
@mafredri mafredri merged commit 2ec3b09 into main Dec 1, 2022
@mafredri mafredri deleted the mafredri/fix-authorize-nil-error branch December 1, 2022 18:42
@github-actions github-actions bot locked and limited conversation to collaborators Dec 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants