From: Richard Levitte Date: Thu, 18 Apr 2019 14:33:21 +0000 (+0200) Subject: OPENSSL_LH_flush(): assign NULL after freeing X-Git-Tag: openssl-3.0.0-alpha1~2163 X-Git-Url: https://git.openssl.org/gitweb/?a=commitdiff_plain;h=bcb5d42171386709c716312b711a0c15aa368f3f;hp=bcb5d42171386709c716312b711a0c15aa368f3f;p=openssl.git OPENSSL_LH_flush(): assign NULL after freeing OPENSSL_LH_flush() frees the linked lists for each slot, but didn't set the list head to NULL after doing so, with the result that an operation that affects these lists is likely to cause a crash. Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/8781) ---