mirror of https://github.com/ARMmbed/mbed-os.git
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 #12171pull/12173/head
parent
5f495db06b
commit
dadb621a97
|
@ -21,7 +21,7 @@
|
||||||
/* Temporary Boodloader data - contains temp mandatory claims */
|
/* Temporary Boodloader data - contains temp mandatory claims */
|
||||||
__attribute__((aligned(4)))
|
__attribute__((aligned(4)))
|
||||||
const uint8_t temp_ram_page_data[] = {
|
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
|
0x83, 0x11, 0x0C, 0x00, // SW_TYPE
|
||||||
0x4E, 0x53, 0x50, 0x45, 0x5F, 0x53, 0x50, 0x45,
|
0x4E, 0x53, 0x50, 0x45, 0x5F, 0x53, 0x50, 0x45,
|
||||||
0x80, 0x11, 0x0A, 0x00, //SW_VERSION
|
0x80, 0x11, 0x0A, 0x00, //SW_VERSION
|
||||||
|
|
Loading…
Reference in New Issue