libgit2/tests-clar/core
Sascha Cunz 9094d30b93 Reset all static variables to NULL in clar's __cleanup
Without this change, any failed assertion in the second (or a later) test
inside a test suite has a chance of double deleting memory, resulting in
a heap corruption. See #1096 for details.

This leaves alone the test cases where we "just" use cl_git_sandbox_init()
and cl_git_sandbox_cleanup(). These methods already take good care to not
double delete a repository.

Fixes #1096
2012-11-23 11:41:56 +01:00
..
buffer.c Add git_buf_put_base64 to buffer API 2012-10-10 14:54:31 -07:00
copy.c Extensions to rmdir and mkdir utilities 2012-11-09 13:52:06 -08:00
dirent.c Add a test to verify FILENAME_MAX 2012-05-13 23:12:51 -07:00
env.c Reset all static variables to NULL in clar's __cleanup 2012-11-23 11:41:56 +01:00
errors.c Make giterr_set_str public 2012-09-21 15:04:39 -07:00
filebuf.c misc: Fix warnings from PVS Studio trial 2012-06-07 22:43:48 +02:00
hex.c Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
mkdir.c Extensions to rmdir and mkdir utilities 2012-11-09 13:52:06 -08:00
oid.c Migrate index, oid, and utils to new errors 2012-03-19 16:10:11 -07:00
path.c Add path utilities to resolve relative paths 2012-07-10 23:19:47 -07:00
pool.c Convert attrs and diffs to use string pools 2012-04-25 10:42:37 -07:00
rmdir.c Extensions to rmdir and mkdir utilities 2012-11-09 13:52:06 -08:00
stat.c Update clar tests p_lstat_posixly and p_lstat 2012-11-20 00:57:56 -02:00
string.c Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
strmap.c Rename git_khash_str to git_strmap, etc. 2012-04-25 15:20:28 -07:00
strtol.c Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
vector.c index refactoring 2012-10-29 20:04:21 -05:00