edk2/ShellPkg/Library/UefiShellDebug1CommandsLib
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
..
Edit ShellPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
HexEdit ShellPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
SmbiosView ShellPkg: ShellPkg: Fix SMBIOS Type 28 probe labels 2026-06-29 17:19:33 +00:00
Comp.c ShellPkg: Use the newly introduced ShellPrintDefaultEx() alias 2025-10-01 10:02:57 +02:00
Compress.c ShellPkg: Add null pointer checks before dereference 2026-07-01 12:10:28 +00:00
Compress.h ShellPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
Cxl.c ShellPkg: Add 'cxl' command 2026-05-01 08:48:04 +02:00
Dblk.c ShellPkg: Use the newly introduced ShellPrintDefaultEx() alias 2025-10-01 10:02:57 +02:00
Dmem.c ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
DmpStore.c ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
EditInputBar.c ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
EditInputBar.h ShellPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
EditMenuBar.c ShellPkg: UefiShellDebug1CommandsLib: CodeQL Fixes 2024-10-29 02:09:18 +00:00
EditMenuBar.h ShellPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
EditStatusBar.c ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
EditStatusBar.h ShellPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
EditTitleBar.c ShellPkg: Use the newly introduced ShellPrintDefaultEx() alias 2025-10-01 10:02:57 +02:00
EditTitleBar.h ShellPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
EfiCompress.c ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
EfiDecompress.c ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
LoadPciRom.c ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
MemMap.c ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
Mm.c ShellPkg: Use the newly introduced ShellPrintDefaultEx() alias 2025-10-01 10:02:57 +02:00
Mode.c ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
Pci.c Global: Fix Spelling Errors in PCI/PCIe Definitions 2026-05-08 02:15:34 +00:00
Pci.h ShellPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
SerMode.c ShellPkg/SerMode: Add ValidDataBits() function 2026-04-24 18:18:47 +00:00
SetSize.c ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
SetVar.c ShellPkg: Use the newly introduced ShellPrintDefaultEx() alias 2025-10-01 10:02:57 +02:00
UefiShellDebug1CommandsLib.c ShellPkg: Add 'cxl' command 2026-05-01 08:48:04 +02:00
UefiShellDebug1CommandsLib.h ShellPkg: Add 'cxl' command 2026-05-01 08:48:04 +02:00
UefiShellDebug1CommandsLib.inf ShellPkg: Add 'cxl' command 2026-05-01 08:48:04 +02:00
UefiShellDebug1CommandsLib.uni ShellPkg: Add 'cxl' command 2026-05-01 08:48:04 +02:00