Branch: refs/heads/master
Home: https://github.openssl.org/openssl/openssl
Commit: cec1699f1f54ba8b87f055776dc77b48dd37d5fa
https://github.openssl.org/openssl/openssl/commit/cec1699f1f54ba8b87f055776dc77b48dd37d5fa
Author: Bernd Edlinger <[email protected]>
Date: 2022-06-10 (Fri, 10 Jun 2022)
Changed paths:
M providers/implementations/macs/hmac_prov.c
Log Message:
-----------
Fix a use after free in error handling of hmac_dup
dst->digest needs to be zeroized in case HMAC_CTX_copy
or ossl_prov_digest_copy return failure.
Fixes #18493
Reviewed-by: Tomas Mraz <[email protected]>
Reviewed-by: Matt Caswell <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/18502)