We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3aa1ef0 commit c37bf18Copy full SHA for c37bf18
src/main/java/com/fasterxml/jackson/core/util/TextBuffer.java
@@ -857,7 +857,7 @@ public char[] finishCurrentSegment() {
857
int oldLen = _currentSegment.length;
858
_segmentSize += oldLen;
859
if (_segmentSize < 0) {
860
- _reportBufferOverflow(_segmentSize, oldLen);
+ _reportBufferOverflow(_segmentSize - oldLen, oldLen);
861
}
862
_currentSize = 0;
863
0 commit comments