Files
gitea/modules
silverwind a0f0c937c4 fix(packages): replace blakesmith/ar with an in-tree reader (#40401) (#40410)
Backport https://github.com/go-gitea/gitea/pull/40401

https://github.com/blakesmith/ar is unmaintained since 2019 and panics
on a negative member size (https://pkg.go.dev/vuln/GO-2026-6905), with
no fixed version. Debian packages only need a small subset of the `ar`
format, so this reads it in-tree.

- Malformed or truncated archives are rejected with a 400 instead of a
500 or a panic
- Parsing stops after the first `control.tar` member, deb(5) allows only
one

Assisted-by: Claude Code:claude-opus-5-5
2026-11-17 05:17:20 +00:00
..
2026-08-26 19:32:44 +00:00
2026-07-12 17:14:09 +00:00