Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: c4d29cb62187060493a1f595083ddfb6dd346f39
https://github.com/tianocore/edk2/commit/c4d29cb62187060493a1f595083ddfb6dd346f39
Author: Bob Morgan <[email protected]>
Date: 2026-03-26 (Thu, 26 Mar 2026)
Changed paths:
M ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
Log Message:
-----------
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 <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits