audk/CryptoPkg
Kun Qin 21f984cede CryptoPkg: BaseCryptLib: Fix buffer double free in CryptPkcs7VerifyEku
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2459

SignerCert is part of Pkcs7 instance when both have valid content. OpenSLL
PKCS7_free function will release the memory of SignerCert when applicable.
Freeing SignerCert with X509_free again might cause page fault if use-
after-free guard is enabled.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Xiaoyu Lu <xiaoyux.lu@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Guomin Jiang <guomin.jiang@intel.com>

Signed-off-by: Kun Qin <kun.q@outlook.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
2020-11-26 03:22:24 +00:00
..
Driver CryptoPkg: Make the MD5 disable as default for security 2020-11-17 19:26:50 +00:00
Include CryptoPkg: Make the MD5 disable as default for security 2020-11-17 19:26:50 +00:00
Library CryptoPkg: BaseCryptLib: Fix buffer double free in CryptPkcs7VerifyEku 2020-11-26 03:22:24 +00:00
Private CryptoPkg/Crypto.h: Update the version of Crypto Driver 2020-05-15 07:22:36 +00:00
Test CryptoPkg/Test/UnitTest/Library/BaseCryptLib: Fix MD5 Hash tests 2020-11-25 17:54:11 +00:00
CryptoPkg.ci.yaml CryptoPkg: BaseCryptLib: Add unit tests (Host and Shell based) 2020-10-18 00:49:58 +00:00
CryptoPkg.dec CryptoPkg/OpensslLib: Upgrade OpenSSL to 1.1.1g 2020-07-25 06:27:14 +00:00
CryptoPkg.dsc CryptoPkg/dsc: Enable MD5 when CRYPTO_SERVICES enable MD5 2020-11-17 19:26:50 +00:00
CryptoPkg.uni CryptoPkg/BaseHashApiLib: Align BaseHashApiLib with TPM 2.0 Implementation 2020-02-19 16:38:22 +00:00
CryptoPkgExtra.uni CryptoPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00