]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ds/sparse-updates-oob-access-fix'
authorJunio C Hamano <gitster@pobox.com>
Wed, 13 May 2020 19:19:20 +0000 (12:19 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 May 2020 19:19:20 +0000 (12:19 -0700)
The code to skip unmerged paths in the index when sparse checkout
is in use would have made out-of-bound access of the in-core index
when the last path was unmerged, which has been corrected.

* ds/sparse-updates-oob-access-fix:
  unpack-trees: avoid array out-of-bounds error

1  2 
unpack-trees.c

diff --cc unpack-trees.c
Simple merge