summaryrefslogtreecommitdiff
path: root/compat/snprintf.c
diff options
context:
space:
mode:
authorLibravatar Markus Heidelberg <markus.heidelberg@web.de>2010-02-28 16:49:15 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-02-28 10:32:06 -0800
commit77e8466fb98b95ea07d386d64073d0bc6304b37f (patch)
tree12a70eb49e37550f5f059fa95e58a8351a6672b7 /compat/snprintf.c
parentMerge branch 'maint-1.6.6' into maint (diff)
downloadtgif-77e8466fb98b95ea07d386d64073d0bc6304b37f.tar.xz
sha1_name: fix segfault caused by invalid index access
The code to see if user input "git show :path" makes sense tried to access the index without properly checking the array bound. Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/snprintf.c')
0 files changed, 0 insertions, 0 deletions