Commit 7d6df9e9 authored by Pauli's avatar Pauli Committed by Rich Salz
Browse files

Fix threading issue that at best will leak memory



The problem is the checking in policy_cache_set, there is a race
condition between the null check and obtaining the lock.  The fix is in
policy_cache_new to detect if the creation has happened already.

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
parent b38c43f7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment