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
..
2015-12-22 09:11:07 -05:00
2015-12-15 23:40:22 +00:00
2015-12-22 09:11:07 -05:00
2015-12-19 20:33:00 +00:00
2015-12-09 22:09:19 +00:00
2015-12-09 22:09:19 +00:00
2015-12-16 16:14:49 -05:00
2015-12-09 22:09:19 +00:00
2015-11-01 08:09:57 -05:00
2015-12-16 16:14:49 -05:00
2015-12-22 11:05:51 +01:00
2015-12-16 16:14:49 -05:00
2015-12-09 22:09:19 +00:00
2015-12-16 16:14:49 -05:00
2015-12-16 16:14:49 -05:00
2015-12-09 22:09:19 +00:00
2015-12-09 22:09:19 +00:00
2015-09-02 22:05:37 -04:00
2015-09-26 19:50:11 +02:00
2015-12-16 16:14:49 -05:00
2015-09-04 11:45:44 -04:00
2015-12-09 22:09:19 +00:00
2015-12-16 16:14:49 -05:00
2015-04-20 15:06:22 +02:00
2015-12-16 16:14:49 -05:00
2015-09-29 21:59:19 -04:00
2015-07-16 01:06:48 -04:00
2015-12-16 16:14:49 -05:00
2015-12-22 09:11:07 -05:00
2015-11-23 11:46:15 +01:00
2015-07-14 01:10:01 +02:00
2015-01-22 09:20:09 +00:00