mirror of
https://gitee.com/gitea/gitea
synced 2025-11-30 05:10:28 +08:00
There is a potential panic due to a mistaken resetting of the length parameter when multibyte characters go over a read boundary. Signed-off-by: Andrew Thornton <art27@cantab.net>