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

Fixed long deserialization problem for longs of ~13digit length #27

Merged
merged 1 commit into from
Aug 12, 2016

Conversation

shotbythought
Copy link
Contributor

The decoding for variable length long should use the previously calculated part into account otherwise it throws away some of the long during deserialization. Included is a test that reproduces the error given the previous code.

@cowtowncoder
Copy link
Member

Makes sense. Thank you for contributing this!

@cowtowncoder cowtowncoder merged commit 6d559aa into FasterXML:master Aug 12, 2016
@cowtowncoder cowtowncoder added this to the 2.7.7 milestone Aug 12, 2016
cowtowncoder added a commit that referenced this pull request Aug 12, 2016
@cowtowncoder
Copy link
Member

Fixed for 2.8.2, but also backported in 2.7.7 release. Thanks again!

@shotbythought
Copy link
Contributor Author

No problem! Thanks for responding so quickly.

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.

2 participants