Merge branch 'jk/pack-idx-corruption-safety'
commit090de6b289ff2d9fc1c82ef85069bd6cba296d63
authorJunio C Hamano <gitster@pobox.com>
Fri, 4 Mar 2016 21:45:46 +0000 (4 13:45 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 4 Mar 2016 21:45:47 +0000 (4 13:45 -0800)
tree3b609b0a9989a67abcc8449f80e6626d48f73509
parentbc0ffd41b92c8539fc7dbe27f256d8bae6b28d05
parent7465feba513a8bd3d47f27630ccc9ab7e82d916c
Merge branch 'jk/pack-idx-corruption-safety'

The code to read the pack data using the offsets stored in the pack
idx file has been made more carefully check the validity of the
data in the idx.

* jk/pack-idx-corruption-safety:
  sha1_file.c: mark strings for translation
  use_pack: handle signed off_t overflow
  nth_packed_object_offset: bounds-check extended offset
  t5313: test bounds-checks of corrupted/malicious pack/idx files
builtin/index-pack.c
cache.h
sha1_file.c