]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ps/upload-pack-oom-protection'
authorJunio C Hamano <gitster@pobox.com>
Mon, 15 Sep 2025 15:52:06 +0000 (08:52 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Sep 2025 15:52:07 +0000 (08:52 -0700)
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

1  2 
upload-pack.c

diff --cc upload-pack.c
Simple merge