Skip to content
This repository was archived by the owner on Oct 5, 2021. It is now read-only.

Commit 801c93e

Browse files
tilman2borneoa
authored andcommitted
hex parser: Ignore address field of extended linear address records.
In practice the address field should be zero anyway, but I guess this is a little bit safer. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
1 parent 84077b1 commit 801c93e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parsers/hex.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ parser_err_t hex_open(void *storage, const char *filename, const char write) {
105105

106106
/* extended linear address record */
107107
case 4:
108-
base = address;
108+
base = 0;
109109
break;
110110
}
111111

0 commit comments

Comments
 (0)