audk/MdePkg
Guomin Jiang 090e267b5b MdePkg/UnitTestBaseLib: Add check for pointer BinData
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2531

AllocatePool may fail and BinData may be invalid, check it before use.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Guomin Jiang <guomin.jiang@intel.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Bret Barkelew <bret.barkelew@microsoft.com>
2020-03-27 02:03:41 +00:00
..
Include MdePkg/PciExpress40.h: DVSEC definition missing 2020-03-19 00:48:02 +00:00
Library MdePkg/BaseSafeIntLib: Fix VS20xx IA32 link failures 2020-02-13 01:42:50 +00:00
Test MdePkg/UnitTestBaseLib: Add check for pointer BinData 2020-03-27 02:03:41 +00:00
MdePkg.ci.yaml MdePkg/Test: Add SafeIntLib and BaseLib Base64 unit tests 2020-02-07 19:18:53 +00:00
MdePkg.dec MdePkg/Include/Library: Add UnitTestLib class 2020-02-07 19:18:53 +00:00
MdePkg.dsc MdePkg: Disable EBC for unit tests in MdePkg.dsc 2020-02-11 23:57:44 +00:00
MdePkg.uni MdePkg: Add PcdSpeculationBarrierType 2019-04-30 16:39:09 -07:00
MdePkgExtra.uni MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00