summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorPaweł Bogusławski <pawel.boguslawski@ib.pl>2022-10-06 22:50:38 +0200
committerGitHub <noreply@github.com>2022-10-06 21:50:38 +0100
commit2d3b52c24458df9ac0986546810e54aa36c2d196 (patch)
tree6c532583f046b6947ab113f3ac72bd4e19871c12 /.drone.yml
parentb001812df41fcf86f17a90f9fead2c27bf544e63 (diff)
downloadgitea-2d3b52c24458df9ac0986546810e54aa36c2d196.tar.gz
gitea-2d3b52c24458df9ac0986546810e54aa36c2d196.zip
SessionUser protection against nil pointer dereference (#21358)
`SessionUser` should be protected against passing `sess` = `nil` to avoid ``` PANIC: runtime error: invalid memory address or nil pointer dereference ``` in https://github.com/go-gitea/gitea/pull/18452/files#diff-a215b82aadeb8b4c4632fcf31215dd421f804eb1c0137ec6721b980136e4442aR69 after upgrade from gitea v1.16 to v1.17. Related: https://github.com/go-gitea/gitea/pull/18452 Author-Change-Id: IB#1126459
Diffstat (limited to '.drone.yml')
0 files changed, 0 insertions, 0 deletions