diff options
| author | Guomin Jiang <guomin.jiang@intel.com> | 2020-03-24 04:34:20 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-03-27 05:03:41 +0300 |
| commit | 090e267b5bb594d9f2dbe38b2b3562347773826a (patch) | |
| tree | 7063d111bc09ff20c1ce3632c16bb0e07e649ef9 /BaseTools/Source/Python/CommonDataClass/CommonClass.py | |
| parent | 695d90b9b156573d0dafb20afecea09dc9a914f4 (diff) | |
| download | edk2-090e267b5bb594d9f2dbe38b2b3562347773826a.tar.xz | |
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>
Diffstat (limited to 'BaseTools/Source/Python/CommonDataClass/CommonClass.py')
0 files changed, 0 insertions, 0 deletions
