libgit2/tests/core
Carlos Martín Nieto caab22c0d4 buffer: don't allow growing borrowed buffers
When we don't own a buffer (asize=0) we currently allow the usage of
grow to copy the memory into a buffer we do own. This muddles the
meaning of grow, and lets us be a bit cavalier with ownership semantics.

Don't allow this any more. Usage of grow should be restricted to buffers
which we know own their own memory. If unsure, we must not attempt to
modify it.
2015-06-24 23:49:10 +02:00
..
bitvec.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
buffer.c buffer: don't allow growing borrowed buffers 2015-06-24 23:49:10 +02:00
copy.c fileops: allow linking files when copying directory structures 2014-05-28 15:40:22 +02:00
dirent.c git_path_diriter: next shouldn't take path ptr 2015-05-01 12:31:29 -04:00
env.c Better search path sandboxing 2014-05-15 10:56:28 -07:00
errors.c Make our overflow check look more like gcc/clang's 2015-02-13 09:27:33 -05:00
features.c Rename GIT_SSL to GIT_OPENSSL 2015-04-23 17:39:51 +02:00
filebuf.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
ftruncate.c Fix p_ftruncate to handle big files for git_clone 2015-03-03 08:47:44 -05:00
hex.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
iconv.c Fixed Xcode 6.1 build warnings 2015-06-15 09:55:12 -07:00
init.c init: return the number of initializations 2014-12-04 20:42:27 -05:00
link.c win32: use NT-prefixed "\\?\" paths 2014-12-16 10:08:43 -06:00
mkdir.c Fix memleak in test/core/mkdir reported by CRTDBG 2015-04-17 10:30:33 -04:00
oid.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
oidmap.c Remove extra semicolon outside of a function 2015-02-15 21:07:05 +01:00
opts.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
path.c Fixed build warnings on Xcode 6.1 2015-06-02 11:49:38 -07:00
pool.c Round up pool alloc sizes for alignment 2014-06-30 12:05:25 -07:00
posix.c Introduce p_utimes and p_futimes 2015-06-16 15:32:02 -04:00
pqueue.c Fix pqueue sort boundary condition bug 2014-03-12 11:21:55 -07:00
rmdir.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
sortedcache.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
stat.c stat: don't remove trailing '/' from root on win32 2015-02-05 12:27:16 -05:00
string.c git__tolower: test that some non-ASCII downcasing isn't 2015-05-29 18:16:51 -04:00
strmap.c Remove extra semicolon outside of a function 2015-02-15 21:07:05 +01:00
strtol.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
structinit.c stash_apply: provide its own options structure 2015-05-11 14:12:39 -04:00
vector.c Some vector utility tweaks 2014-04-17 14:43:45 -07:00
zstream.c Expand zstream tests and fix off-by-one error 2014-01-30 10:00:00 -08:00