Remove range check on SREC file format.

This commit is contained in:
Daniel Beer 2010-09-01 10:22:27 +12:00
parent f6971c1daf
commit d3f50bef75
1 changed files with 0 additions and 6 deletions

6
srec.c
View File

@ -130,12 +130,6 @@ int srec_extract(FILE *in, binfile_imgcb_t cb, void *user_data)
return -1;
}
if (addr > 0xffff) {
printc_err("srec: address out of range "
"on line %d: 0x%x\n", lno, addr);
return -1;
}
if (cb(user_data, addr, bytes + addrbytes + 1,
count - 2 - addrbytes) < 0) {
printc_err("srec: error on line %d\n",