gitea/services
zeripath a384109244
Prevent panic on diff generation (#16950) (#16951)
Backport #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:17:42 +02:00
..
archiver Rework repository archive (#14723) 2021-06-23 17:12:38 -04:00
auth Allow BASIC authentication access to /:owner/:repo/releases/download/* (#16916) (#16923) 2021-09-02 12:34:49 -04:00
comments Enhance Ghost comment mitigation Settings (#14392) 2021-01-21 21:56:19 -05:00
externalaccount Allow externalID to be UUID (#8551) 2019-10-17 10:06:28 +08:00
forms Add option to provide signature for a token to verify key ownership (#14054) 2021-07-13 15:28:07 +02:00
gitdiff Prevent panic on diff generation (#16950) (#16951) 2021-09-05 12:17:42 +02:00
issue Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
lfs Test if LFS object is accessible (#16865) (#16904) 2021-08-31 17:58:39 +02:00
mailer Use TrN helper for email templates (#16425) 2021-07-14 15:06:09 +02:00
mirror Add push to remote mirror repository (#15157) 2021-06-14 19:20:43 +02:00
pull Fix dump and restore respository (#16698) (#16898) 2021-08-31 10:44:14 +01:00
release Fix dump and restore respository (#16698) (#16898) 2021-08-31 10:44:14 +01:00
repository Implemented head_commit for webhooks (#16282) 2021-06-29 15:34:03 +02:00
webhook Refactor Webhook + Add X-Hub-Signature (#16176) 2021-06-27 20:21:09 +01:00
wiki Fix 500 on first wiki page (#16586) (#16598) 2021-08-03 23:46:08 +01:00