Skip to content
New issue

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

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

Already on GitHub? # to your account

Prevent NPE when checking repo units if the user is nil (#19625) #19630

Merged
merged 1 commit into from
May 6, 2022

Conversation

zeripath
Copy link
Contributor

@zeripath zeripath commented May 6, 2022

Backport #19625

CheckRepoUnitUser should tolerate nil users.

Fix #19613

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

Backport go-gitea#19625

CheckRepoUnitUser should tolerate nil users.

Fix go-gitea#19613

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

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
@zeripath zeripath added this to the 1.16.8 milestone May 6, 2022
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label May 6, 2022
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels May 6, 2022
@wxiaoguang wxiaoguang merged commit 18dd49a into go-gitea:release/v1.16 May 6, 2022
@zeripath zeripath deleted the backport-19625-v1.16 branch May 6, 2022 10:14
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants