JsonPointer.head()
throws StringIndexOutOfBoundsException
for valid JSON Pointers
#1425
Labels
2.19
Issues planned at earliest for 2.19
Problem Description:
After upgrading to Jackson 2.19.0, valid
JsonPointer
strings are causingStringIndexOutOfBoundsException
when callinghead()
.The crash happens due to a negative
suffixLength
calculated in_constructHead()
.This was not an issue in previous versions (2.18.x and earlier).
Reproducer:
Version:
Jackson Core 2.19.0
The text was updated successfully, but these errors were encountered: