From: Pavel Roskin Date: Wed, 21 Dec 2005 20:35:48 +0000 (-0500) Subject: An off-by-one bug found by valgrind X-Git-Tag: v1.0.0a~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/6689f08735d08a057f8d6f91af98b04960afa517?hp=6689f08735d08a057f8d6f91af98b04960afa517 An off-by-one bug found by valgrind 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 Signed-off-by: Junio C Hamano ---