diff options
author | Markus Heidelberg <markus.heidelberg@web.de> | 2010-02-28 16:49:15 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-28 10:32:06 -0800 |
commit | 77e8466fb98b95ea07d386d64073d0bc6304b37f (patch) | |
tree | 12a70eb49e37550f5f059fa95e58a8351a6672b7 /pack-write.c | |
parent | Merge branch 'maint-1.6.6' into maint (diff) | |
download | tgif-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 'pack-write.c')
0 files changed, 0 insertions, 0 deletions