summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c
diff options
context:
space:
mode:
authorKun Qin <kuqin@microsoft.com>2026-09-17 07:20:32 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-10-22 04:36:43 +0300
commit68360d273c9788e75b9aca13f839563a5a6cb498 (patch)
treed6d9f8e21653b3eabca9381028b2d9c771e39288 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c
parent26d6e1f5f26a7456f63011a3107d0ca577eed489 (diff)
downloadedk2-68360d273c9788e75b9aca13f839563a5a6cb498.tar.xz
BaseTools: FvHandler: Safely update FV free-space nodes
Current FV resize routine assumes that the final child is always a free- space node. However, when no such node exists, these routines can remove or overwrite valid trailing FFS nodes. One replacement path also inserts the free-space byte count instead of the constructed tree node. This change centralizes free-space node creation, resizing, and removal, using the helper for direct replacements and recursive parent resizing. Signed-off-by: Kun Qin <kun.qin@microsoft.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c')
0 files changed, 0 insertions, 0 deletions