summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h
diff options
context:
space:
mode:
authorKun Qin <kuqin@microsoft.com>2026-09-17 07:20:21 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-10-22 04:36:43 +0300
commit26d6e1f5f26a7456f63011a3107d0ca577eed489 (patch)
tree3dde158df324e568996e39590353785822aa28cb /MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h
parent52fa6fe8996f4b11881757b9300ee4ec584432ba (diff)
downloadedk2-26d6e1f5f26a7456f63011a3107d0ca577eed489.tar.xz
BaseTools: FMMTOperation: Use distinct FFS trees for repeated replacement
Current `ReplaceFfs` reuses the parsed replacement FFS tree for every matching target. However, `FvHandler` mutates the tree while attaching it to a target, causing later replacements inherit state from an earlier replaced instance and hang the process. This change uses deep-copy of the replacement tree for each target to avoid the failure case. Signed-off-by: Kun Qin <kun.qin@microsoft.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h')
0 files changed, 0 insertions, 0 deletions