1
0
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:
Martin Tůma 2025-04-17 07:42:45 +02:00
parent a21096a0a9
commit 92b2fbaf04

View File

@ -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++;