mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +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;
|
return false;
|
||||||
_len -= sizeof(def->devFields[i]);
|
_len -= sizeof(def->devFields[i]);
|
||||||
}
|
}
|
||||||
}
|
} else
|
||||||
|
def->numDevFields = 0;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user