diff options
author | Jack Lloyd <[email protected]> | 2015-08-02 23:43:12 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2015-08-02 23:43:12 -0400 |
commit | 392ce7db1eccf5e2eacb074195ea7f5016f70259 (patch) | |
tree | 49aa67753d35e5ae56feac3b67cc55b7274a53da /src/tests/tests.h | |
parent | 8e19ecf11c2c50b5a2d6642477d729091409fec8 (diff) |
Fix two crashes in the BER decoder found with afl.
One a read at 0 of an empty vector, the other causing allocation of an
arbitrary amount of memory.
Diffstat (limited to 'src/tests/tests.h')
-rw-r--r-- | src/tests/tests.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/tests.h b/src/tests/tests.h index c99adf6b8..88102f289 100644 --- a/src/tests/tests.h +++ b/src/tests/tests.h @@ -107,6 +107,8 @@ size_t test_nist_x509(); size_t test_srp6(); size_t test_compression(); +size_t test_fuzzer(); + #define SKIP_TEST(testname) \ size_t test_ ## testname() { \ std::cout << "Skipping tests: " << # testname << std::endl; \ |