diff options
author | Long Qin <qin.long@intel.com> | 2017-05-19 15:22:10 +0800 |
---|---|---|
committer | Long Qin <qin.long@intel.com> | 2017-05-22 09:00:16 +0800 |
commit | 454d99de04f018355d269b8b4e52ba2fa451d4b6 (patch) | |
tree | a5c2bbcdaa9f5053096bc49c4f1d5fe476dcabcf /MdeModulePkg | |
parent | 3ecfa5668f8fcf8a5f9a35d1534ad8efff800815 (diff) | |
download | edk2-454d99de04f018355d269b8b4e52ba2fa451d4b6.tar.gz |
CryptoPkg/BaseCryptLib: Add NULL pointer checks in DH and P7Verify
Add more NULL pointer checks before using them in DhGenerateKey and
Pkcs7GetCertificatesList functions to eliminate possible dereferenced
pointer issue.
Cc: Ting Ye <ting.ye@intel.com>
Cc: Hao Wu <hao.a.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qin Long <qin.long@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Ting Ye <ting.ye@intel.com>
(cherry picked from commit a9fb7b7803763e045bd626ec7df3ce4900e3e927)
Diffstat (limited to 'MdeModulePkg')
0 files changed, 0 insertions, 0 deletions