mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-04-19 11:49:10 +02:00
Fixed ISO8211 parser error handling
This commit is contained in:
parent
a21096a0a9
commit
92b2fbaf04
@ -187,6 +187,8 @@ bool ISO8211::readDDA(const FieldDefinition &def, SubFields &fields)
|
||||
SubFieldDefinition sfd(fieldType(typeStr, size));
|
||||
if (sfd.type() == Unknown)
|
||||
return false;
|
||||
if (tag >= tags.size())
|
||||
return false;
|
||||
defs[tag] = sfd;
|
||||
defTags[tag] = tags.at(tag);
|
||||
tag++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user