Skip to content
Commit 2ac7753c authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Fix CRYPTO_clear_realloc() bug.



If allocation in CRYPTO_clear_realloc() fails don't free up the original
buffer: this is consistent with the behaviour of realloc(3) and is expected
in other places in OpenSSL.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
Reviewed-by: default avatarViktor Dukhovni <viktor@openssl.org>
parent e38bd948
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