Skip to content

Fixes #64, error parsing raw data ending on a packet boundary#65

Merged
da4089 merged 5 commits into
masterfrom
64-invalid-literal-for-int-with-base-10
Jun 1, 2026
Merged

Fixes #64, error parsing raw data ending on a packet boundary#65
da4089 merged 5 commits into
masterfrom
64-invalid-literal-for-int-with-base-10

Conversation

@da4089
Copy link
Copy Markdown
Owner

@da4089 da4089 commented Jun 1, 2026

Parsing of raw data would fail if the packet boundary happened to fall between the last byte of raw data and the SOH field separator. Change to ensure the SOH exists, and the field doesn't complete parsing until it has been processed. Added a check that it's actually SOH too.

Parsing of raw data would fail if the packet boundary happened to fall
between the last byte of raw data and the SOH field separator.  Change
to ensure the SOH exists, and the field doesn't complete parsing until
it has been processed.  Added a check that it's actually SOH too.
@da4089 da4089 merged commit 9f5d0ff into master Jun 1, 2026
7 checks passed
@da4089 da4089 deleted the 64-invalid-literal-for-int-with-base-10 branch June 1, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

simplefix.errors.TagNotNumberError: invalid literal for int() with base 10: b'\x0110'

1 participant