mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-04 20:46:20 +00:00
io_ihex: Lets remove infinite cycle
This commit is contained in:
parent
8cfd3d475c
commit
977b5fb706
@ -157,6 +157,13 @@ static int ihex2bin(ut8 *mem, char *str) {
|
||||
break;
|
||||
case 1: // EOF
|
||||
ptr = NULL;
|
||||
break;
|
||||
case 2:
|
||||
case 3:
|
||||
case 4:
|
||||
case 5:
|
||||
ptr = strchr(ptr + 1, ':');
|
||||
break;
|
||||
}
|
||||
} while (ptr);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user