diff options
| author | Kun Qin <kuqin@microsoft.com> | 2026-09-17 07:20:21 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-10-22 04:36:43 +0300 |
| commit | 26d6e1f5f26a7456f63011a3107d0ca577eed489 (patch) | |
| tree | 3dde158df324e568996e39590353785822aa28cb /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c | |
| parent | 52fa6fe8996f4b11881757b9300ee4ec584432ba (diff) | |
| download | edk2-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/BootScriptSave.c')
0 files changed, 0 insertions, 0 deletions
