commit | bf8f16f771d48c7cb4c0dfa548d296972513efe2 | [log] [tgz] |
---|---|---|
author | Oliver Smith-Denny <osde@linux.microsoft.com> | Sat Mar 09 11:06:03 2024 -0800 |
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | Thu Mar 14 16:29:22 2024 +0000 |
tree | 1877b158c882076dce640aa749e933118186ac35 | |
parent | 019feb42a1dd1136014b19df3fcb618861b621e3 [diff] |
MdeModulePkg: DxeCore: Fix CodeQL Error in FreePages CodeQL flags the Free Pages logic for not ensuring that Entry is non-null before using it. Add a check for this and appropriately bail out if we hit this case. Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Oliver Smith-Denny <osde@linux.microsoft.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>