openssl/crypto/hashtable
Neil Horman 0a15d71f67 Remove assert in core_namemap.c
The namemap_add_name function has an assertion to check for the failure
os ossl_ht_insert.

Its there because we assume the operation can't fail since we're under
write lock

But it can fail if we get a malloc failure, as thats what we're testing
for here.

Remove the assert and handle the failure properly.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28216)
2025-08-12 14:15:50 -04:00
..
build.info de-duplicate fnv1a_hash 2025-02-17 11:27:34 -05:00
hashfunc.c Rename fnv1a_hash() to ossl_fnv1a_hash() 2025-02-25 15:45:42 +01:00
hashtable.c Remove assert in core_namemap.c 2025-08-12 14:15:50 -04:00