boringssl/crypto/err
Adam Langley 69a01608f3 Add malloc failure tests.
This commit fixes a number of crashes caused by malloc failures. They
were found using the -malloc-test=0 option to runner.go which runs tests
many times, causing a different allocation call to fail in each case.

(This test only works on Linux and only looks for crashes caused by
allocation failures, not memory leaks or other errors.)

This is not the complete set of crashes! More can be found by collecting
core dumps from running with -malloc-test=0.

Change-Id: Ia61d19f51e373bccb7bc604642c51e043a74bd83
Reviewed-on: https://boringssl-review.googlesource.com/2320
Reviewed-by: Adam Langley <agl@google.com>
2014-11-19 01:24:46 +00:00
..
CMakeLists.txt Inital import. 2014-06-20 13:17:32 -07:00
err_impl.c Add malloc failure tests. 2014-11-19 01:24:46 +00:00
err_test.c Fix ownership of error data in ERR_peek_*. 2014-11-10 23:09:59 +00:00
err.c Add malloc failure tests. 2014-11-19 01:24:46 +00:00