Skip to content

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