jackson-core
jackson-core copied to clipboard
`ArrayIndexOutOfBoundsException` for `UTF8DataInputJsonParser` for particularly long integer numbers (256k+ digits)
Looks like no bounds check are verified when buffering digits of integer numbers by UTF8DataInputJsonParser
, and thereby long enough integer numbers (longer than current empty buffer size, or at very least, longer than maximum segment which is 256k characters) will hit buffer boundary and throw exception.
Looking at other implements UTF8StreamJsonParser
and others handle this better.