Fix off-by-one in read_tree_recursive
commit7183c09d11ac4b98f1cc78f29dcbd85df5533001
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 20 Apr 2009 17:44:53 +0000 (20 19:44 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Apr 2009 20:44:14 +0000 (20 13:44 -0700)
treebc5d434c42ae7f87f2ab628be8cb4a99012352cb
parent1f9b620fdbf27835f54b11008d64c4014b8f4c32
Fix off-by-one in read_tree_recursive

Found by valgrind.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
tree.c