Skip to content

Commit dadb621

Browse files
Ron EldorRon Eldor
authored andcommitted
Change size embedded in the temp_ram_page_data
The size stated in the struct header was 0xB0, however the actual size(including the header) is 0xAC. Changed the len value in the header, to avoid memory corruption. Raised in #12171
1 parent 5f495db commit dadb621

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/TARGET_PSA/services/attestation/COMPONENT_PSA_SRV_IMPL/attestation_bootloader_data.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/* Temporary Boodloader data - contains temp mandatory claims */
2222
__attribute__((aligned(4)))
2323
const uint8_t temp_ram_page_data[] = {
24-
0x16, 0x20, 0xB0, 0x00, //shared_data_tlv_header
24+
0x16, 0x20, 0xAC, 0x00, //shared_data_tlv_header
2525
0x83, 0x11, 0x0C, 0x00, // SW_TYPE
2626
0x4E, 0x53, 0x50, 0x45, 0x5F, 0x53, 0x50, 0x45,
2727
0x80, 0x11, 0x0A, 0x00, //SW_VERSION

0 commit comments

Comments
 (0)