Skip to content

Bootloader bug - out of bounds #23

@MicroframeDev1

Description

@MicroframeDev1

WIZ550S2E->WIZ550S2E_Boot->ConfigData.c

for(i = 0, j = 0 ; i <= 6 ; i++, j += 2) s2e_packet.network_info_common.mac[i] = get_hex(buf[j], buf[j+1]);

When i=6 and j=12, both .mac[i] and buf[j] will go out of bounds. I was alerted by a compiler warning in LPCXpresso 8.2.2.

Does this break the bootloader, or does in field flashing still work?
Which version of LPCXpresso are you using for compiles?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions