libgit2/tests
Brodie Rao cf7b13f3c3 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.
2011-10-12 16:06:25 -07:00
..
resources tag: avoid a double-free when parsing tags without a tagger field 2011-10-12 16:06:25 -07:00
.gitignore Fix Makefile to correctly handle 'make -j4 test' 2008-11-03 18:42:54 -08:00
NAMING status: get blob object id of file on disk 2011-07-09 13:49:50 +02:00
t00-core.c core: One last long long 2011-09-30 16:25:03 +02:00
t01-data.h Rewrite the unit testing suite 2011-02-02 02:15:25 +02:00
t01-rawobj.c Fix wrong test in t04-commit 2011-08-04 22:49:39 +02:00
t02-data.h Cleanup the testing toolkit 2011-03-03 20:23:52 +02:00
t02-objread.c cleanup: remove trailing spaces 2011-07-01 18:02:56 +02:00
t02-oids.h Rewrite the unit testing suite 2011-02-02 02:15:25 +02:00
t03-data.h What the fuck was this doing in src? 2011-07-11 19:42:21 +02:00
t03-objwrite.c fileops: Cleanup 2011-07-05 02:04:03 +02:00
t04-commit.c commit: properly parse empty commit messages 2011-10-12 15:14:25 -07:00
t05-revwalk.c cleanup: remove trailing spaces 2011-07-01 18:02:56 +02:00
t06-index.c Remove extra git_index_read from the tests 2011-07-26 15:53:52 +02:00
t07-hashtable.c CMakefile: add -Wmissing-prototypes and fix warnings 2011-08-30 23:55:22 +03:00
t08-tag.c tag: avoid a double-free when parsing tags without a tagger field 2011-10-12 16:06:25 -07:00
t09-tree.c Fix memory leak when wrong object type is looked up from cache 2011-08-02 19:23:00 +02:00
t10-refs.c commit: properly parse empty commit messages 2011-10-12 15:14:25 -07:00
t12-repo.c Merge pull request #384 from kiryl/warnings 2011-09-18 20:07:59 -07:00
t13-threads.c Fix MSVC warnings 2011-03-21 19:27:45 +02:00
t15-config.c config: behave like git with [section.subsection] 2011-10-01 19:58:26 +02:00
t16-remotes.c Make repo config loading automatic or completely explicit 2011-09-27 14:40:56 +02:00
t17-bufs.c Don't leak the buf when testing it 2011-07-12 18:19:56 +02:00
t18-status.c t18-status.c: fix unused warnings 2011-09-24 13:41:10 +02:00
test_helpers.c test: Abort when the temp workdir cannot be created 2011-07-07 02:54:07 +02:00
test_helpers.h status: enhance determination of status for a single file 2011-09-15 01:14:36 +02:00
test_lib.c test: Properly show error messages 2011-06-28 21:10:51 +02:00
test_lib.h CMakefile: add -Wmissing-prototypes and fix warnings 2011-08-30 23:55:22 +03:00
test_main.c Force the test's main function to use cdecl under Windows 2011-08-06 16:33:24 +02:00
tests.supp Add support for running the tests via valgrind 2009-10-13 16:23:54 +01:00