Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 1c74842bd07a48070d1cf3458f0b6b377e3ec8b9
      
https://github.com/tianocore/edk2/commit/1c74842bd07a48070d1cf3458f0b6b377e3ec8b9
  Author: Gowtham M <[email protected]>
  Date:   2025-11-08 (Sat, 08 Nov 2025)

  Changed paths:
    M ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.c

  Log Message:
  -----------
  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 <[email protected]>
Signed-off-by: Gowtham M <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to