Merge branch 'jk/pack-idx-corruption-safety' into maint
commit80047fa084f994969d42338bc3fbbb89e7d957d6
authorJunio C Hamano <gitster@pobox.com>
Thu, 10 Mar 2016 19:13:46 +0000 (10 11:13 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 10 Mar 2016 19:13:46 +0000 (10 11:13 -0800)
tree7835a193de3ad2ee6d883ce3bba1d8f1acc9ef73
parent0e58b47d153a90d80518ef35c53ffb244ed4ecd6
parent7465feba513a8bd3d47f27630ccc9ab7e82d916c
Merge branch 'jk/pack-idx-corruption-safety' into maint

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