Skip to content

Commit c37bf18

Browse files
committed
...
1 parent 3aa1ef0 commit c37bf18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/fasterxml/jackson/core/util/TextBuffer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ public char[] finishCurrentSegment() {
857857
int oldLen = _currentSegment.length;
858858
_segmentSize += oldLen;
859859
if (_segmentSize < 0) {
860-
_reportBufferOverflow(_segmentSize, oldLen);
860+
_reportBufferOverflow(_segmentSize - oldLen, oldLen);
861861
}
862862
_currentSize = 0;
863863

0 commit comments

Comments
 (0)