libgit2/tests/object/blob
Russell Belfer 1e4976cb01 Be more careful with user-supplied buffers
This adds in missing calls to `git_buf_sanitize` and fixes a
number of places where `git_buf` APIs could inadvertently write
NUL terminator bytes into invalid buffers.  This also changes the
behavior of `git_buf_sanitize` to NUL terminate a buffer if it can
and of `git_buf_shorten` to do nothing if it can.

Adds tests of filtering code with zeroed (i.e. unsanitized) buffer
which was previously triggering a segfault.
2014-05-08 10:17:14 -07:00
..
filter.c Be more careful with user-supplied buffers 2014-05-08 10:17:14 -07:00
fromchunks.c Update git_blob_create_fromchunks callback behavr 2013-12-11 10:57:50 -08:00
write.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00