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
pull/12173/head
Ron Eldor 2019-12-29 17:28:56 +02:00
parent 5f495db06b
commit dadb621a97
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
/* Temporary Boodloader data - contains temp mandatory claims */
__attribute__((aligned(4)))
const uint8_t temp_ram_page_data[] = {
0x16, 0x20, 0xB0, 0x00, //shared_data_tlv_header
0x16, 0x20, 0xAC, 0x00, //shared_data_tlv_header
0x83, 0x11, 0x0C, 0x00, // SW_TYPE
0x4E, 0x53, 0x50, 0x45, 0x5F, 0x53, 0x50, 0x45,
0x80, 0x11, 0x0A, 0x00, //SW_VERSION