audk/MdePkg
Marvin Haeuser 1009b59b65 MdePkg/UefiFileHandleLib: Fix potential NULL dereference
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2293

Move the NULL check in FileHandleGetInfo() to directly after the
allocation to prevent potential NULL dereferences.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Marvin Haeuser <mhaeuser@outlook.de>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2019-11-04 08:52:07 +08:00
..
Include MdePkg/Include/Protocol/Tls.h: Add the data type of EfiTlsVerifyHost (CVE-2019-14553) 2019-11-02 12:07:11 +01:00
Library MdePkg/UefiFileHandleLib: Fix potential NULL dereference 2019-11-04 08:52:07 +08:00
MdePkg.dec MdePkg/MdePkg.dec: Update PciSegmentLib.h to S3PciSegmentLib.h 2019-09-17 09:36:31 +08:00
MdePkg.dsc MdePkg: Add UefiFileHandleLib to DSC file 2019-10-22 16:17:28 -07: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