Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Units applied after a read_conversion that returns a string modifies cached conversion value #293

ryanatball opened this issue May 4, 2016 · 0 comments


Copy link

@ryanatball ryanatball commented May 4, 2016

This can lead to the units being appended to the cached value repeatedly.

Packet#apply_format_string_and_units() should clone the string before modifying it or not use the << operator.

@ryanatball ryanatball added the bug label May 4, 2016
@ryanatball ryanatball closed this in 2552bf5 May 5, 2016
ryanatball added a commit that referenced this issue May 5, 2016

closes #293. Protect read conversion cache values
@ryanatball ryanatball modified the milestone: v3.8.1 May 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.