edk2/ShellPkg
Bob Morgan c4d29cb621 ShellPkg/UefiHandleParsingLib: support handle list growth
Refactor GetHandleListByProtocol() to support
additions to the handle list during its execution.
Replace LocateHandle() with LocateHandleBuffer() to
avoid the possibility that the buffer allocated for
LocateHandle() is too small if additional handles
are added during GetHandleListByProtocol() execution.

Note that the previous implementation did not detect
the handle list growth and would cause memory
corruption when writing the terminating NULL handle
to the allocated buffer.

Signed-off-by: Bob Morgan <bobm@nvidia.com>
2026-03-26 17:36:35 +00:00
..
Application ShellPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
DynamicCommand ShellPkg: fix UNI string formatting and line endings to match UNI Spec 2026-03-02 19:32:17 +00:00
Include ShellPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
Library ShellPkg/UefiHandleParsingLib: support handle list growth 2026-03-26 17:36:35 +00:00
Test ShellPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
ShellPkg.ci.yaml ShellPkg: Remove EmbeddedPkg dependency 2025-08-12 17:42:44 +00:00
ShellPkg.dec ShellPkg: Remove PcdShellSupportOldProtocols 2025-06-13 21:11:49 +00:00
ShellPkg.dsc ShellPkg: Remove ARM32 Support 2025-09-25 22:04:10 +00:00