Skip to content

Conversation

@sugmanue
Copy link
Contributor

Fix for a ArrayIndexOutOfBoundsException exception when parsing long non-chunked ASCII text. The issue is described in #640.

Testing

I changed a bit the existing tests to account to allow the size to match to trigger the bug.

Fixes #640

@cowtowncoder
Copy link
Member

Going forward, it is enough to just do PR for the oldest branch and I can merge forward. In case of 3.x, I'll backport this in 3.0 for 3.0.4 I think.

@cowtowncoder cowtowncoder merged commit 0dce23b into FasterXML:3.x Dec 19, 2025
3 checks passed
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.

CBOR throws ArrayIndexOutOfBoundsException with long ASCII text

2 participants