Files
libgit2/tests/buf
Edward Thomson f2087fc7bf buf tests: allocate a smaller size for the oom
On Linux (where we run valgrind) allocate a smaller buffer, but still an
insanely large size.  This will cause malloc to fail but will not cause
valgrind to report a likely error with a negative-sized malloc.

Keep the original buffer size on non-Linux platforms: this is
well-tested on them and changing it may be problematic.  On macOS, for
example, using the new size causes `malloc` to print a warning to
stderr.

(cherry picked from commit 219512e798)
2018-10-12 12:07:11 +02:00
..
2015-02-13 09:28:12 -05:00
2018-03-19 16:08:01 -07:00
2016-05-26 13:01:07 -05:00
2013-11-14 14:05:52 -08:00