Merge branch 'es/unpack-trees-oob-fix' into maint
commit5ae057d9a8c79fea1ad58658660d9fe42668e972
authorJunio C Hamano <gitster@pobox.com>
Fri, 14 Feb 2020 20:42:27 +0000 (14 12:42 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Feb 2020 20:42:28 +0000 (14 12:42 -0800)
treefaac78a5ef54762f3a7983d76d9354711a0b868a
parentc17cf77e4e021194f52f32b0b8def06c7933e89f
parent573117dfa597215fbf9a3d73b7f9c71c280c684f
Merge branch 'es/unpack-trees-oob-fix' into maint

The code that tries to skip over the entries for the paths in a
single directory using the cache-tree was not careful enough
against corrupt index file.

* es/unpack-trees-oob-fix:
  unpack-trees: watch for out-of-range index position
unpack-trees.c