summaryrefslogtreecommitdiff
path: root/merge-tree.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2009-01-28 00:07:46 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-01-27 15:16:31 -0800
commitf265458f6116a0c03200477ae3b839f2a75bf0fa (patch)
treefd73456d14510000e51a9b536d294371643abab0 /merge-tree.c
parentFix Documentation for git-describe (diff)
downloadtgif-f265458f6116a0c03200477ae3b839f2a75bf0fa.tar.xz
get_sha1_basic(): fix invalid memory access, found by valgrind
When get_sha1_basic() is passed a buffer of len 0, it should not check if buf[len-1] is a curly bracket. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge-tree.c')
0 files changed, 0 insertions, 0 deletions