Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove all trailing zeroes during string decoding #2493

Merged
merged 4 commits into from
Dec 11, 2024

Conversation

wlcrs
Copy link
Contributor

@wlcrs wlcrs commented Dec 9, 2024

The current string decoding logic removes only a single trailing zero from the input it receives. In practice, multiple trailing zeroes can exist.

@janiversen
Copy link
Collaborator

Please solve the CI problems, use ./checklist.sh locally helps.

Copy link
Collaborator

@janiversen janiversen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good except for CI error.

Copy link
Collaborator

@janiversen janiversen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks.

@janiversen janiversen merged commit f5ede3e into pymodbus-dev:dev Dec 11, 2024
1 check passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants