summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Workspace/MetaFileCommentParser.py
diff options
context:
space:
mode:
authorGowtham M <gowthamm@ami.com>2025-11-05 08:40:08 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-11-08 03:42:20 +0300
commit1c74842bd07a48070d1cf3458f0b6b377e3ec8b9 (patch)
tree899e22779beaa064d48c7ff441a10bd7999c7654 /BaseTools/Source/Python/Workspace/MetaFileCommentParser.py
parent49d4753385dd4949c2ba3f0f3ab5b941cd817749 (diff)
downloadedk2-1c74842bd07a48070d1cf3458f0b6b377e3ec8b9.tar.xz
ArmPkg/Library: fix: Incorrect SectionLength Calculation.
Ref:[059332b] Rootcause: The SectionLength was incorrectly computed using the FFS_FILE_SIZE() macro. This macro operates on the EFI_FFS_FILE_HEADER structure, which is incompatible with the SECTION_SIZE header format. This mismatch introduces a potential defect due to inaccurate section size calculation. Solution: To ensure correctness and structural alignment, SectionLength must be computed using the SECTION_SIZE macro defined in MdePkg\Include\Pi\PiFirmwareFile.h. This macro performs size extraction using byte-wise access. Cc: Sachin Ganesh <sachinganesh@ami.com> Signed-off-by: Gowtham M <gowthamm@ami.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileCommentParser.py')
0 files changed, 0 insertions, 0 deletions