diff options
author | Qin Long <qin.long@intel.com> | 2017-03-31 22:12:45 +0800 |
---|---|---|
committer | Qin Long <qin.long@intel.com> | 2017-04-07 00:28:56 +0800 |
commit | 7c410b3d4180087020c7734bf67cdc4ad9fdb136 (patch) | |
tree | cfd941bc44ea0248b357bc4e6126f1f5fe9f86e1 /NetworkPkg/IpSecDxe | |
parent | 5d7a1d63c0fa53d411a06c6f03de939c1cc26da2 (diff) | |
download | edk2-7c410b3d4180087020c7734bf67cdc4ad9fdb136.tar.gz edk2-7c410b3d4180087020c7734bf67cdc4ad9fdb136.tar.bz2 edk2-7c410b3d4180087020c7734bf67cdc4ad9fdb136.zip |
CryptoPkg/BaseCryptLib: Adding NULL checking in time() wrapper.
There are some explicit time(NULL) calls in openssl-1.1.0xx source,
but the dummy time() wrapper in ConstantTimeClock.c (used by PEI
and SMM module) has no any checks on NULL parameter. This is one bug
and will cause the memory access issue.
This patch adds the NULL parameter checking in time() wrapper.
Cc: Ting Ye <ting.ye@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qin Long <qin.long@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'NetworkPkg/IpSecDxe')
0 files changed, 0 insertions, 0 deletions