mirror of
https://gitee.com/gitea/gitea
synced 2025-12-19 22:46:36 +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>