audk/CryptoPkg
Laszlo Ersek e89d672110 CryptoPkg: RuntimeCryptLib: support realloc(NULL, size)
The ISO C standard says about realloc(),

  If ptr is a null pointer, the realloc function behaves like the malloc
  function for the specified size.

The realloc() implementation doesn't conform to this currently, so add a
check and call malloc() if appropriate.

Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Qin Long <qin.long@intel.com>
Cc: Ting Ye <ting.ye@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Qin Long <qin.long@intel.com>
2016-02-25 11:04:31 +01:00
..
Application/Cryptest CryptoPkg: Convert all .uni files to utf-8 2015-12-15 04:51:26 +00:00
CryptRuntimeDxe CryptoPkg: Convert all .uni files to utf-8 2015-12-15 04:51:26 +00:00
Include CryptoPkg: remove global variable 'timeval' from OpenSslSupport.h 2015-12-07 06:33:27 +00:00
Library CryptoPkg: RuntimeCryptLib: support realloc(NULL, size) 2016-02-25 11:04:31 +01:00
.gitignore CryptoPkg: add .gitignore for OpenSSL source files 2015-06-16 15:09:19 +00:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
CryptoPkg.dec CryptoPkg: Update Package version to 0.96 2015-08-20 06:58:44 +00:00
CryptoPkg.dsc CryptoPkg: Add NOOPT target in CryptoPkg.dsc 2016-01-19 04:04:54 +00: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