1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-01 07:01:39 +02:00
gitea/services
zeripath 0767fe0d80
Prevent panic on diff generation (#16950)
The lastLeftIdx should be reset at the same time as creating a new section otherwise
it is possible for a second addition to end up attempting to read a nil entry.

Fix #16943

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-09-05 12:16:49 +02:00
..
agit
archiver
auth
comments
externalaccount
forms
gitdiff Prevent panic on diff generation (#16950) 2021-09-05 12:16:49 +02:00
issue
lfs
mailer
mirror
pull
release
repository
webhook
wiki