Merge branch 'jk/patch-corrupted-delta-fix'
commit07703ae057f5f6952d9ea4ee1cc34bfc889b4c5b
authorJunio C Hamano <gitster@pobox.com>
Mon, 17 Sep 2018 20:53:58 +0000 (17 13:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Sep 2018 20:53:58 +0000 (17 13:53 -0700)
tree14d3293c6a081f04ec6bbca4d08286fd44a16de6
parent06880cff3892185ae71839636e2d2c688413eccb
parent18f60f2d3dba291e1ea8e2751c1fce70580de8a9
Merge branch 'jk/patch-corrupted-delta-fix'

Malformed or crafted data in packstream can make our code attempt
to read or write past the allocated buffer and abort, instead of
reporting an error, which has been fixed.

* jk/patch-corrupted-delta-fix:
  t5303: use printf to generate delta bases
  patch-delta: handle truncated copy parameters
  patch-delta: consistently report corruption
  patch-delta: fix oob read
  t5303: test some corrupt deltas
  test-delta: read input into a heap buffer