onmail.com; Kinney, Michael D
>Subject: Re: [edk2-devel] [PATCH] MdePkg/UefiFileHandleLib: Fix potential
>NULL dereference
>
>Reviewed-by: Liming Gao
>
>>-Original Message-
>>From: Marvin Häuser [mailto:marvin.haeu...@outlook.com]
>>Sent: Sunday, October 20,
Reviewed-by: Liming Gao
>-Original Message-
>From: Marvin Häuser [mailto:marvin.haeu...@outlook.com]
>Sent: Sunday, October 20, 2019 8:09 PM
>To: devel@edk2.groups.io
>Cc: vit9...@protonmail.com; Kinney, Michael D
>; Gao, Liming
>Subject: [PATCH] MdePkg/UefiFileHandleLib: Fix potential N
From: Marvin Haeuser
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
Cc: Liming Gao
Signed-off-by: Marvin Haeuser
---
MdePkg/Library/UefiFileHand