boringssl/fuzz
David Benjamin 367115b056 Fix SSL_CTX_set1_sigalgs fuzzer and make them all more type-safe.
The size of an int is 4, not 2. To avoid worrying about this, add a GetVector
counterpart to GetString that handles all this. Apply this uniformly to avoid
all the pointer casts. This is less important for vector<uint8_t>, but even
then we'll now notice a 1-byte OOB read since std::string is NUL-terminated.
Also it's shorter.

Change-Id: Ie96591cb8d8d52742f5fd30d70b6af0511109585
Reviewed-on: https://boringssl-review.googlesource.com/30864
Reviewed-by: Adam Langley <agl@google.com>
2018-08-10 18:24:36 +00:00
..
bn_div_corpus Generate bn_div and bn_mod_exp corpus from bn_tests.txt. 2017-10-27 18:57:48 +00:00
bn_mod_exp_corpus Generate bn_div and bn_mod_exp corpus from bn_tests.txt. 2017-10-27 18:57:48 +00:00
cert_corpus Merge in upstream's certificate corpus. 2016-12-12 21:41:00 +00:00
client_corpus Refresh TLS fuzzer corpora. 2018-05-14 22:53:55 +00:00
client_corpus_no_fuzzer_mode Refresh TLS fuzzer corpora. 2018-05-14 22:53:55 +00:00
dtls_client_corpus Refresh TLS fuzzer corpora. 2018-05-14 22:53:55 +00:00
dtls_server_corpus Refresh TLS fuzzer corpora. 2018-05-14 22:53:55 +00:00
pkcs8_corpus Add standalone PKCS#8 and SPKI fuzzers. 2016-04-25 21:57:28 +00:00
pkcs12_corpus Add a PKCS#12 fuzzer. 2018-05-15 23:58:32 +00:00
privkey_corpus Update fuzzing corpuses. 2016-03-03 18:33:05 +00:00
read_pem_corpus Replace base64 decoding. 2016-05-26 17:59:10 +00:00
server_corpus Refresh TLS fuzzer corpora. 2018-05-14 22:53:55 +00:00
server_corpus_no_fuzzer_mode Refresh TLS fuzzer corpora. 2018-05-14 22:53:55 +00:00
session_corpus Adding a fuzzer for Sessions 2016-12-01 20:22:56 +00:00
spki_corpus Add standalone PKCS#8 and SPKI fuzzers. 2016-04-25 21:57:28 +00:00
ssl_ctx_api_corpus Add a fuzzer for the SSL_CTX API. 2016-10-04 23:07:09 +00:00
bn_div.cc Generate bn_div and bn_mod_exp corpus from bn_tests.txt. 2017-10-27 18:57:48 +00:00
bn_mod_exp.cc Require BN_mod_exp_mont* inputs be reduced. 2018-04-24 18:29:29 +00:00
cert.cc Run the comment converter on fuzz/ and tool/ 2017-08-18 16:42:13 +00:00
client.cc Add DTLS fuzzers. 2017-09-07 22:26:50 +00:00
CMakeLists.txt Add a PKCS#12 fuzzer. 2018-05-15 23:58:32 +00:00
dtls_client.cc Add DTLS fuzzers. 2017-09-07 22:26:50 +00:00
dtls_server.cc Add DTLS fuzzers. 2017-09-07 22:26:50 +00:00
minimise_corpuses.sh Add licenses to fuzz tests. 2016-04-25 20:15:27 +00:00
pkcs8.cc ERR_clear_error at the end of each fuzzer. 2016-10-13 23:20:40 +00:00
pkcs12.cc Add a PKCS#12 fuzzer. 2018-05-15 23:58:32 +00:00
privkey.cc ERR_clear_error at the end of each fuzzer. 2016-10-13 23:20:40 +00:00
read_pem.cc ERR_clear_error at the end of each fuzzer. 2016-10-13 23:20:40 +00:00
refresh_ssl_corpora.sh Defer writing the shim settings. 2018-05-01 19:49:46 +00:00
server.cc Add DTLS fuzzers. 2017-09-07 22:26:50 +00:00
session.cc Remove |X509| things from SSL_SESSION. 2017-02-10 19:12:04 +00:00
spki.cc ERR_clear_error at the end of each fuzzer. 2016-10-13 23:20:40 +00:00
ssl_ctx_api.cc Fix SSL_CTX_set1_sigalgs fuzzer and make them all more type-safe. 2018-08-10 18:24:36 +00:00