diff options
author | Zhou Jianfeng <jianfeng.zhou@intel.com> | 2025-04-29 09:58:48 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-05-06 16:25:46 +0000 |
commit | 28653a1c8a0c42bd598ba2677fc1b84fbb4e9c37 (patch) | |
tree | 7253bc954c876503f92b1421e09340582962f506 /BaseTools/Source/Python/UPT/Xml/PackageSurfaceAreaXml.py | |
parent | d6101acb083eb0b79e3ca35c18ea87003850e3c4 (diff) | |
download | edk2-master.tar.gz edk2-master.tar.bz2 edk2-master.zip |
SyncContext of SMM_DISPATCHER_MP_SYNC_DATA was dynamically allocated from
SMRAM. The memory was not freed before reallocation in S3 resume path.
This could lead to:
1. Memory leak in SMRAM.
2. Potential S3 resume failure after repeated S3 tests due to SMRAM
exhaustion.
This change releases the SyncContext memory before reallocating it
Signed-off-by: Zhou Jianfeng <jianfeng.zhou@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/UPT/Xml/PackageSurfaceAreaXml.py')
0 files changed, 0 insertions, 0 deletions