An off-by-one bug found by valgrind
authorPavel Roskin <proski@gnu.org>
Wed, 21 Dec 2005 20:35:48 +0000 (15:35 -0500)
committerJunio C Hamano <junkio@cox.net>
Wed, 21 Dec 2005 21:00:31 +0000 (13:00 -0800)
Insufficient memory is allocated in index-pack.c to hold the *.idx name.
One more byte should be allocated to hold the terminating 0.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>

No differences found