diff options
author | Neil Horman <nhorman@openssl.org> | 2024-05-15 15:20:30 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-08-21 15:21:25 +0200 |
commit | 435531ec24ecdf00a5904f277bf3d2d9c6d63dd9 (patch) | |
tree | 823f3ce0dec86fc07792f78578886b96cc11eca5 /fuzz | |
parent | fix: Have util/mkerr.pl comply better with our coding style (diff) | |
download | openssl-435531ec24ecdf00a5904f277bf3d2d9c6d63dd9.tar.xz openssl-435531ec24ecdf00a5904f277bf3d2d9c6d63dd9.zip |
alternate collision checking support
Add full key matching to hashtable
the idea is that on a hash value match we do a full memory comparison of
the unhashed key to validate that its actually the key we're looking for
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24504)
Diffstat (limited to 'fuzz')
-rw-r--r-- | fuzz/hashtable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzz/hashtable.c b/fuzz/hashtable.c index b58d48b225..9d911d86c2 100644 --- a/fuzz/hashtable.c +++ b/fuzz/hashtable.c @@ -99,7 +99,7 @@ static void fuzz_free_cb(HT_VALUE *v) int FuzzerInitialize(int *argc, char ***argv) { - HT_CONFIG fuzz_conf = {NULL, fuzz_free_cb, NULL, 0}; + HT_CONFIG fuzz_conf = {NULL, fuzz_free_cb, NULL, 1, 0}; OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL); ERR_clear_error(); |