]> git.99rst.org Git - git.git/commitdiff
Merge branch 'ps/upload-pack-oom-protection' into maint-2.51
authorJunio C Hamano <redacted>
Wed, 15 Oct 2025 17:29:30 +0000 (10:29 -0700)
committerJunio C Hamano <redacted>
Wed, 15 Oct 2025 17:29:30 +0000 (10:29 -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
git clone https://git.99rst.org/PROJECT