forked from gitea/gitea
1
0
Fork 0
Commit Graph

1 Commits

Author SHA1 Message Date
Giteabot ed5e0c8c27
Discard unread data of `git cat-file` (#29297) (#29310)
Backport #29297 by @KN4CK3R

Fixes #29101
Related #29298

Discard all read data to prevent misinterpreting existing data. Some
discard calls were missing in error cases.

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: yp05327 <576951401@qq.com>
2024-02-22 04:23:38 +00:00