]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ps/upload-pack-oom-protection' into maint-2.51
authorJunio C Hamano <gitster@pobox.com>
Wed, 15 Oct 2025 17:29:30 +0000 (10:29 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Oct 2025 17:29:30 +0000 (10:29 -0700)
commitcaba7e3d864cbb19ab19dfa239c9aa641a9ffbbb
treefa387ed9c098da714e839d7215b9e438bee043fe
parent7614e4165a14e594df1271d1686fafebc92bf5cd
parent88a2dc68c8c9a2cf04c6d6d52e4ac3b26788e273
Merge branch 'ps/upload-pack-oom-protection' into maint-2.51

A broken or malicious "git fetch" can say that it has the same
object for many many times, and the upload-pack serving it can
exhaust memory storing them redundantly, which has been corrected.

* ps/upload-pack-oom-protection:
  upload-pack: don't ACK non-commits repeatedly in protocol v2
  t5530: modernize tests
upload-pack.c