EFI_PEI_FFS_FIND_SECTION_DATA2[1] and EFI_PEI_FFS_FIND_SECTION_DATA3[2] return section data without their corresponding sizes. This makes secure parsing of the data impossible. This is an issue with the UEFI PI specification and is submitted mainly for discussion/feedback and tracking reasons. [1] https://github.com/tianocore/edk2/blob/2072c22a0d63c780b0cc6377f6d4ffb116ad6144/MdePkg/Include/Pi/PiPeiCis.h#L383-L390 [2] https://github.com/tianocore/edk2/blob/2072c22a0d63c780b0cc6377f6d4ffb116ad6144/MdePkg/Include/Pi/PiPeiCis.h#L413-L422
Marvin, you can continue to provide the proposal.