another clusterfuzz spotted issue (#15032)
another clusterfuzz spotted issue (#15032)

Signed-off-by: Andrew Thornton <6a547fdd28db89120bdd70d4af1f9ba672ccd43a@cantab.net>
go-gitea/gitea,go-gitea/gitea,cez81/gitea,vdbt/gitea,go-gitea/gitea,vdbt/gitea,cez81/gitea,cez81/gitea