Hi Heinrich,
On 10/30/26 13:45, Heinrich Schuchardt wrote:
>> + /* The data copied for the section must lie within the image */
>> + if (!pe_range_ok(efi_size, sec->PointerToRawData,
>> + min(section_size(sec), sec->SizeOfRawData))) {
>
> All of raw data should be inside the image even if VirtualSize <
> SizeOfRawData.Agreed. efi_image_parse() already requires that after 02, so in v2 this checks all of SizeOfRawData, with a test for a section whose VirtualSize is smaller. Thanks, Ana
