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
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
pkcs12_corpus Add a PKCS#12 fuzzer. 2018-05-15 23:58:32 +00:00
privkey_corpus
read_pem_corpus
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
spki_corpus
ssl_ctx_api_corpus
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
pkcs8.cc
pkcs12.cc Add a PKCS#12 fuzzer. 2018-05-15 23:58:32 +00:00
privkey.cc
read_pem.cc
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
spki.cc
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