diff options
author | Dandan Bi <dandan.bi@intel.com> | 2018-11-19 09:50:22 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-11-21 13:01:03 +0800 |
commit | 59222fe90bc93af9afd5204dbd75fd434820018c (patch) | |
tree | 5c4992c0c47ddd381131ef1cb753a2112c10d905 /ArmPkg/Library/ArmSmcPsciResetSystemLib | |
parent | d8e702693a8c292220131dc4234a36e2c9fff614 (diff) | |
download | edk2-59222fe90bc93af9afd5204dbd75fd434820018c.zip edk2-59222fe90bc93af9afd5204dbd75fd434820018c.tar.gz edk2-59222fe90bc93af9afd5204dbd75fd434820018c.tar.bz2 |
MdePkg: Check input Ptrs in GetSectionFromAnyFvByFileType
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1337
In function GetSectionFromAnyFvByFileType, the input parameter "Buffer"
and "size" should not be NULL, so add ASSERT here to avoid any checker
report that the NULL pointer may be used.
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'ArmPkg/Library/ArmSmcPsciResetSystemLib')
0 files changed, 0 insertions, 0 deletions