Skip to content
Snippets Groups Projects
Commit 053a763a authored by Franck HÉRÉSON's avatar Franck HÉRÉSON Committed by David Brownell
Browse files

bugfix: stack corruption loading IHex images


The Hex parser uses a fixed number of sections.  When the
number of sections in the file is greater than that, the
stack get corrupted and a CHECKSUM ERROR is detected
which is very confusing.

This checks the number of sections read, and increases
IMAGE_MAX_SECTIONS so it works on my file.

Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
parent 0b882951
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment