Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 17691a2641c2715fc1196aa1b0fe85b85db6c240
https://github.com/tianocore/edk2/commit/17691a2641c2715fc1196aa1b0fe85b85db6c240
Author: Antaeus Kleinert-Strand <[email protected]>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M FmpDevicePkg/FmpDxe/FmpDxe.c
Log Message:
-----------
FmpDevicePkg/FmpDxe: Improve handling of XDR certs
The current implementation for XDR certificate handling assumes the
PublicKeyDataXdr buffer is 4-byte aligned. This is not always the case.
For example, if PublicKeyDataXdr=0x02, and the length is 0x05, the
correct offset should be 0x2 + align_up(0x5, 4) -> 0x2 + 0x8 = 0xA. The
current logic produces align_up(0x2 + 0x5, 4) -> align_up(0x7, 4) = 0x8.
Signed-off-by: Antaeus Kleinert-Strand <[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