audk/CryptoPkg/Library/BaseCryptLib/Pk
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
..
CryptAuthenticode.c CryptoPkg/BaseCryptLib: fix NULL dereference (CVE-2019-14584) 2020-10-21 06:32:46 +00:00
CryptAuthenticodeNull.c CryptoPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00
CryptDh.c CryptoPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00
CryptDhNull.c CryptoPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00
CryptPkcs1Oaep.c CryptoPkg/BaseCryptLib: Add PKCS1v2 (RSAES-OAEP) support. 2019-04-18 13:11:22 +08:00
CryptPkcs1OaepNull.c CryptoPkg/BaseCryptLib: Add PKCS1v2 (RSAES-OAEP) support. 2019-04-18 13:11:22 +08:00
CryptPkcs5Pbkdf2.c CryptoPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00
CryptPkcs5Pbkdf2Null.c CryptoPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00
CryptPkcs7Sign.c CryptoPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00
CryptPkcs7SignNull.c CryptoPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00
CryptPkcs7VerifyBase.c CryptoPkg/Pkcs7: Extend support for other OID types 2020-05-06 03:37:39 +00:00
CryptPkcs7VerifyCommon.c CryptoPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00
CryptPkcs7VerifyEku.c CryptoPkg: BaseCryptLib: Fix buffer double free in CryptPkcs7VerifyEku 2020-11-26 03:22:24 +00:00
CryptPkcs7VerifyEkuRuntime.c CryptoPkg/BaseCryptLib: Add new API VerifyEKUsInPkcs7Signature 2019-04-18 13:11:21 +08:00
CryptPkcs7VerifyNull.c CryptoPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00
CryptPkcs7VerifyRuntime.c CryptoPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00
CryptRsaBasic.c CryptoPkg: Support for SHA384 & SHA512 RSA signing schemes 2020-01-08 06:57:44 +00:00
CryptRsaExt.c CryptoPkg: Support for SHA384 & SHA512 RSA signing schemes 2020-01-08 06:57:44 +00:00
CryptRsaExtNull.c CryptoPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00
CryptTs.c CryptoPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00
CryptTsNull.c CryptoPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00
CryptX509.c CryptoPkg/BaseCryptLib: Add X509ConstructCertificateStackV(). 2020-02-07 16:32:13 +00:00
CryptX509Null.c CryptoPkg/BaseCryptLib: Add X509ConstructCertificateStackV(). 2020-02-07 16:32:13 +00:00