Merge branch 'jk/detect-truncated-zlib-input'
authorJunio C Hamano <gitster@pobox.com>
Tue, 13 Nov 2018 13:37:17 +0000 (22:37 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Nov 2018 13:37:17 +0000 (22:37 +0900)
commit879a8d4bf2412303ec940d69165b0937c11a2851
treef610f532a4da757bc9b5480cce825e2e937bbb37
parentfd7761a1cd1d8ab5cb311b6e7f91e56496e95b84
parent18ad13e5b2ee18c3f57bf41add3efa95980e72c1
Merge branch 'jk/detect-truncated-zlib-input'

A regression in Git 2.12 era made "git fsck" fall into an infinite
loop while processing truncated loose objects.

* jk/detect-truncated-zlib-input:
  cat-file: handle streaming failures consistently
  check_stream_sha1(): handle input underflow
  t1450: check large blob in trailing-garbage test
builtin/cat-file.c
sha1-file.c