summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorBrodie Rao <brodie@bitheap.org>2011-08-11 14:05:55 -0700
committerBrodie Rao <brodie@bitheap.org>2011-10-12 16:06:25 -0700
commitcf7b13f3c30595e3fe88103f9bfb653655a41177 (patch)
treefec950cc75645372a379eed25c96a175c576d75d /src/commit.c
parent04f788023fd04e60a12c2a19787857c72b3817f4 (diff)
downloadlibgit2-cf7b13f3c30595e3fe88103f9bfb653655a41177.tar.gz
tag: avoid a double-free when parsing tags without a tagger field
The v0.99 tag in the Git repo triggers this behavior: http://git.kernel.org/?p=git/git.git;a=tag;h=d6602ec5194c87b0fc87103ca4d67251c76f233a Ideally, we'd allow the tag to be instantiated even though the tagger field is missing, but this at the very least prevents libgit2 from crashing. To test this bug, a new repository has been added based on the test branch in testrepo.git. It contains a "e90810b" tag that looks like this: object e90810b8df3e80c413d903f631643c716887138d type commit tag e90810b This is a very simple tag.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions