0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-01-12 22:15:37 +01:00
Joakim Olsson 1ee7f8e966
fix: prevent panic when GitLab release has more links than sources (#36295)
The code incorrectly assumed rel.Assets.Links and rel.Assets.Sources
arrays have equal length. This causes index out of bounds panic when
migrating GitLab releases with more links than sources, which is common
with GoReleaser-generated releases.

Fixes #36292

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-01-05 21:48:12 +08:00
..
2022-01-26 10:45:51 +01:00
2023-02-18 21:17:39 +02:00