]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jk/harden-protocol-v2-delim-handling'
authorJunio C Hamano <gitster@pobox.com>
Wed, 22 Apr 2020 20:42:44 +0000 (13:42 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Apr 2020 20:42:44 +0000 (13:42 -0700)
The server-end of the v2 protocol to serve "git clone" and "git
fetch" was not prepared to see a delim packets at unexpected
places, which led to a crash.

* jk/harden-protocol-v2-delim-handling:
  test-lib-functions: simplify packetize() stdin code
  upload-pack: handle unexpected delim packets
  test-lib-functions: make packetize() more efficient


Trivial merge