audk/CryptoPkg/Library/BaseCryptLib
Qin Long 7c410b3d41 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>
2017-04-07 00:28:56 +08:00
..
Cipher CryptoPkg: Fix one wrong parameter for weak key checking 2015-09-02 08:44:46 +00:00
Hash CryptoPkg: Fix typos in comments 2016-11-07 23:21:22 +08:00
Hmac CryptoPkg: Update HMAC Wrapper with opaque HMAC_CTX object. 2017-03-29 16:17:24 +08:00
Pem
Pk CryptoPkg: Update PK Cipher Wrappers work with opaque objects. 2017-03-29 16:18:32 +08:00
Rand CryptoPkg: Fix typos in comments 2016-11-07 23:21:22 +08:00
SysCall CryptoPkg/BaseCryptLib: Adding NULL checking in time() wrapper. 2017-04-07 00:28:56 +08:00
BaseCryptLib.inf CryptoPkg: Add extra build option to disable VS build warning 2017-03-29 16:15:19 +08:00
BaseCryptLib.uni CryptoPkg: Convert all .uni files to utf-8 2015-12-15 04:51:26 +00:00
InternalCryptLib.h CryptoPkg: Add extra build option to disable VS build warning 2017-03-29 16:15:19 +08:00
PeiCryptLib.inf CryptoPkg/BaseCryptLib: Fix Build Warning issue in PEI Module 2017-03-30 16:00:51 +08:00
PeiCryptLib.uni CryptoPkg: Convert all .uni files to utf-8 2015-12-15 04:51:26 +00:00
RuntimeCryptLib.inf CryptoPkg: Add extra build option to disable VS build warning 2017-03-29 16:15:19 +08:00
RuntimeCryptLib.uni CryptoPkg: Convert all .uni files to utf-8 2015-12-15 04:51:26 +00:00
SmmCryptLib.inf CryptoPkg: Add extra build option to disable VS build warning 2017-03-29 16:15:19 +08:00
SmmCryptLib.uni CryptoPkg: Convert all .uni files to utf-8 2015-12-15 04:51:26 +00:00