mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-06-26 11:09:16 +02:00
Fixed ISO8211 parser error handling
This commit is contained in:
@ -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++;
|
||||
|
Reference in New Issue
Block a user