edk2/ShellPkg/Library
Qihang Gao 8dab052c57 ShellPkg: Add null pointer checks before dereference
In AllocateMemory(), several pointers are used without prior null
checks. This may lead to unexpected behavior or system crashes if any
of these pointers are NULL.

Add explicit null checks for these pointers to ensure safe access and
prevent potential null pointer dereferences.

Signed-off-by: Qihang Gao <gaoqihang@loongson.cn>
2026-07-01 12:10:28 +00:00
..
UefiHandleParsingLib ShellPkg/UefiHandleParsingLib: support handle list growth 2026-03-26 17:36:35 +00:00
UefiShellAcpiViewCommandLib ShellPkg: Replace manual alignment checks with helper macros 2026-06-09 07:20:10 +00:00
UefiShellBcfgCommandLib ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
UefiShellCEntryLib ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UefiShellCommandLib ShellPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
UefiShellDebug1CommandsLib ShellPkg: Add null pointer checks before dereference 2026-07-01 12:10:28 +00:00
UefiShellDriver1CommandsLib ShellPkg/UefiShellDriver1: Remove unused Status 2026-04-09 11:13:08 +00:00
UefiShellInstall1CommandsLib ShellPkg: Fix typos 2023-12-08 13:25:11 +00:00
UefiShellLevel1CommandsLib ShellPkg/UefiShellLevel1: Lower indentation level in MainCmdXXX() 2026-04-30 12:14:33 +00:00
UefiShellLevel2CommandsLib ShellPkg: Fix the issue that the UEFI Shell layout is messed up 2026-06-21 16:49:02 +00:00
UefiShellLevel3CommandsLib ShellPkg/UefiShellLevel3: Lower indentation level in MainCmdXXX() 2026-05-01 12:16:07 +00:00
UefiShellLib ShellPkg/UefiShellLib: Add IsDotOrDotDot() function 2026-04-24 18:18:47 +00:00
UefiShellNetwork1CommandsLib ShellPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
UefiShellNetwork2CommandsLib ShellPkg: align UNI file headers with UNI Spec standard 2026-03-02 19:32:17 +00:00