Skip to content
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

Prevent NPE on partial match of compare URL (part 2) (#18490) #18492

Closed
wants to merge 1 commit into from

Conversation

zeripath
Copy link
Contributor

Backport #18490

Unfortunately #18472 only fixed part of the ways a nil pointer can occur in the
compare url. We also need to ensure that the match array has all the matches present.

Fix #18471
Related #18472

Signed-off-by: Andrew Thornton art27@cantab.net

Backport go-gitea#18490

Unfortunately go-gitea#18472 only fixed part of the ways a nil pointer can occur in the
compare url. We also need to ensure that the match array has all the matches present.

Fix go-gitea#18471
Related go-gitea#18472

Signed-off-by: Andrew Thornton <art27@cantab.net>
@zeripath zeripath added type/bug skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. labels Jan 31, 2022
@zeripath zeripath added this to the 1.16.1 milestone Jan 31, 2022
@zeripath zeripath closed this Jan 31, 2022
@zeripath zeripath deleted the backport-18490 branch January 31, 2022 17:50
@zeripath zeripath removed this from the 1.16.1 milestone Feb 1, 2022
@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant