]> git.ipfire.org Git - thirdparty/git.git/commit - builtin-fsck.c
fsck-cache: fix SIGSEGV on bad tag object
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 3 May 2005 14:57:56 +0000 (07:57 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 3 May 2005 14:57:56 +0000 (07:57 -0700)
commit92d4c85d248728b1937d01fdd088173753c6994d
tree339a936a044f5aa3d575388df62725abab35b750
parent54c26fb9d0cdff94c7717125d0a222b324bfea8a
fsck-cache: fix SIGSEGV on bad tag object

fsck_tag() failes to notice that the parsing of the tag may
have failed in the parse_object() call on the object that it
is tagging.

Noticed by Junio.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fsck-cache.c