1
0
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:
Martin Tůma 2018-07-02 18:50:13 +02:00
parent a432ff3461
commit 106904a763

View File

@ -145,7 +145,8 @@ bool FITParser::parseDefinitionMessage(quint8 header)
return false;
_len -= sizeof(def->devFields[i]);
}
}
} else
def->numDevFields = 0;
return true;
}