Skip to content
Commit 5a9dbfc5 authored by Pauli's avatar Pauli
Browse files

err: clear flags better when clearing errors.



An attempt to clear an error with malloced data didn't clear the flags.
Now it clears all flags except the malloced flag.

Fixes #12530

Reviewed-by: default avatarTomas Mraz <tomas@openssl.org>
Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15667)
parent 5ac6d7d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment