audk/CryptoPkg
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
..
Application/Cryptest CryptoPkg: Add PKCS5 PBKDF2 interface for password derivation. 2016-11-02 23:19:01 +08:00
CryptRuntimeDxe CryptoPkg: Convert all .uni files to utf-8 2015-12-15 04:51:26 +00:00
Include CryptoPkg: Move openssl and CRT headers to private include section 2017-04-07 00:22:07 +08:00
Library CryptoPkg/BaseCryptLib: Adding NULL checking in time() wrapper. 2017-04-07 00:28:56 +08:00
.gitignore CryptoPkg: Update .gitignore for OpenSSL source masking 2017-03-29 16:05:42 +08:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
CryptoPkg.dec CryptoPkg: Move openssl and CRT headers to private include section 2017-04-07 00:22:07 +08:00
CryptoPkg.dsc CryptoPkg: Add new TlsLib library 2016-12-22 20:33:22 +08:00
CryptoPkg.uni CryptoPkg: Convert all .uni files to utf-8 2015-12-15 04:51:26 +00:00
CryptoPkgExtra.uni CryptoPkg: Convert all .uni files to utf-8 2015-12-15 04:51:26 +00:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00