]> git.proxmox.com Git - mirror_edk2.git/commit
CryptoPkg BaseCryptLib: Init the content of struct 'CertCtx' before use
authorHao Wu <hao.a.wu@intel.com>
Sun, 10 Jul 2016 01:24:53 +0000 (09:24 +0800)
committerHao Wu <hao.a.wu@intel.com>
Tue, 12 Jul 2016 00:53:19 +0000 (08:53 +0800)
commit07cae0659795b4d6b59f67eabb8426c7c7742318
tree1ed1833eacd9fe3a4e088f9461a088ca7dde1c4c
parent8824c6144c73fe4b6355df6dfaee3e80e068c3b1
CryptoPkg BaseCryptLib: Init the content of struct 'CertCtx' before use

Some fields in structure 'CertCtx' might be used uninitialized in function
Pkcs7GetCertificatesList().

This commit makes sure that 'CertCtx' gets initialized before being used.

Cc: Long Qin <qin.long@intel.com>
Cc: Ye Ting <ting.ye@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Qin Long <qin.long@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c