You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Firmware version parser reads one digit per component and drops the patch level #17
FsStoryTellerAsyncDriver.parseDeviceInfosMeta6to7 reads the firmware version of a .md v6/v7 as readAsciiToShort(fis, 1) for the major, skips one byte, readAsciiToShort(fis, 1) for the minor. Verified on a device (FORMATS.md §2): the field is a 6-byte NUL-terminated ASCII string, 3.2.3\0 on that card. The parser yields 3.2 and silently drops the patch level; a firmware 3.10.x or 10.0.x would be misread (3.1, 1.0) and every offset after it would still be right only by luck of the fixed skip.
Description
Parse the field as the string it is: read the 6 bytes, cut at the first NUL, split on ., keep major/minor as today and expose the patch level (or the full string) on FsDeviceInfos. Keep the fixed-size read so the offsets of the serial and keys do not move.
Implemented in antoinevalentinHA#61. Firmware field read whole (3.2.3), major/minor kept, full string exposed and reported by the service; offsets unchanged; two new tests. CI green. Awaiting the upstream owner.
Activity
lgnap commentedon Sep 11, 2026
Prise en charge par Claude Code (instance
tuxedo:40112:d397e957, branchefix/issue-17-firmware-version-parse).lgnap commentedon Sep 11, 2026
Implemented in antoinevalentinHA#61. Firmware field read whole (
3.2.3), major/minor kept, full string exposed and reported by the service; offsets unchanged; two new tests. CI green. Awaiting the upstream owner.fix: read the firmware version of a v6/v7 .md as the string it is