audk/CryptoPkg/Library
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
..
BaseCryptLib CryptoPkg: RuntimeCryptLib: support realloc(NULL, size) 2016-02-25 11:04:31 +01:00
BaseCryptLibRuntimeCryptProtocol CryptoPkg: Convert all .uni files to utf-8 2015-12-15 04:51:26 +00:00
IntrinsicLib CryptoPkg: Convert all .uni files to utf-8 2015-12-15 04:51:26 +00:00
OpensslLib CryptoPkg/OpensslLib: Upgrade OpenSSL version to 1.0.2f 2016-02-23 11:12:51 +08:00