openssl/crypto/err
Kurt Roeckx 933d108516 Avoid using a dangling pointer when removing the last item
When it's the last item that is removed int_thread_hash == hash and we would
still call int_thread_release(&hash) while hash is already freed.  So
int_thread_release would compare that dangling pointer to NULL which is
undefined behaviour.  Instead do already what int_thread_release() would do,
and make the call do nothing instead.

Reviewed-by: Rich Salz <rsalz@openssl.org>

RT: #4155, MR: #1519
2015-12-23 20:36:32 +01:00
..
err.c Avoid using a dangling pointer when removing the last item 2015-12-23 20:36:32 +01:00
err_all.c remove ecdsa.h header references. 2015-12-09 22:09:19 +00:00
err_prn.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
Makefile make update 2015-12-09 22:09:19 +00:00
openssl.ec remove ECDSA error line 2015-12-09 22:09:20 +00:00