summaryrefslogtreecommitdiff
path: root/run-command.c
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2005-12-21 20:35:48 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-12-21 21:00:31 (GMT)
commit6689f08735d08a057f8d6f91af98b04960afa517 (patch)
tree28c007b949e0956b712f0900b690c9b12db99ccb /run-command.c
parent9470657ad0d0472e3e3c2e352334f60e7bd777c1 (diff)
downloadgit-6689f08735d08a057f8d6f91af98b04960afa517.zip
git-6689f08735d08a057f8d6f91af98b04960afa517.tar.gz
git-6689f08735d08a057f8d6f91af98b04960afa517.tar.bz2
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 <proski@gnu.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'run-command.c')
0 files changed, 0 insertions, 0 deletions