mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Fixed FIT parser crash
This commit is contained in:
parent
a432ff3461
commit
106904a763
@ -145,7 +145,8 @@ bool FITParser::parseDefinitionMessage(quint8 header)
|
||||
return false;
|
||||
_len -= sizeof(def->devFields[i]);
|
||||
}
|
||||
}
|
||||
} else
|
||||
def->numDevFields = 0;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user