Skip to content
Commit ecbea70b authored by Fabio Utzig's avatar Fabio Utzig Committed by Fabio Utzig
Browse files

Fix overflow in offset variable



In the TLV iterator code a variable is used to save the offset in flash
where the protected TLVs end; this was declared as uint16_t and could
easily overflow so fix it by updating the type to uint32_t.

Signed-off-by: default avatarFabio Utzig <utzig@apache.org>
parent f0131cd5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment