mirror of https://github.com/openssl/openssl.git
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) |
||
|---|---|---|
| .. | ||
| build.info | ||
| hashfunc.c | ||
| hashtable.c | ||