mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-12-10 01:14:57 +08:00
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>