Skip to content

Commit 409cb7c

Browse files
committed
Fix #1432
1 parent 50855c3 commit 409cb7c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

release-notes/VERSION

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Project: jackson-databind
1010
(reported by Rob W)
1111
#1411: MapSerializer._orderEntries should check for null keys
1212
(reported by Jörn H)
13+
#1432: Off by 1 bug in PropertyValueBuffer
14+
(reported by Kevin D)
1315

1416
2.7.8 (26-Sep-2016)
1517

src/main/java/com/fasterxml/jackson/databind/deser/impl/PropertyValueBuffer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,10 @@ public boolean assignParameter(SettableBeanProperty prop, Object value)
220220
}
221221
} else {
222222
if (!_paramsSeenBig.get(ix)) {
223+
_paramsSeenBig.set(ix);
223224
if (--_paramsNeeded <= 0) {
224225
return true;
225226
}
226-
_paramsSeenBig.set(ix);
227227
}
228228
}
229229
return false;

0 commit comments

Comments
 (0)