-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reader: tolerate strings without NULL terminator (#84)
At least one major manufacturer is producing strings in their FIT file without a NULL terminator. This change makes it so that the entirety of the contents of the data field can be used as the string, instead of assuming the last part will be a NULL terminator. A testdata file has also been added which includes strings without a NULL terminator.
- Loading branch information
Joshua C. Colp
authored
Nov 8, 2023
1 parent
8dc9409
commit 62de95b
Showing
4 changed files
with
18 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.