audk/CryptoPkg/Library/BaseCryptLib/SysCall
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
..
BaseMemAllocation.c CryptoPkg: Clean-up CRT Library Wrapper. 2017-03-29 16:13:58 +08:00
ConstantTimeClock.c CryptoPkg/BaseCryptLib: Adding NULL checking in time() wrapper. 2017-04-07 00:28:56 +08:00
CrtWrapper.c CryptoPkg: Clean-up CRT Library Wrapper. 2017-03-29 16:13:58 +08:00
RuntimeMemAllocation.c CryptoPkg: Clean-up CRT Library Wrapper. 2017-03-29 16:13:58 +08:00
TimerWrapper.c CryptoPkg: Clean-up CRT Library Wrapper. 2017-03-29 16:13:58 +08:00