Skip to content

Commit 59aa102

Browse files
committed
Fix #116
1 parent 6918f26 commit 59aa102

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

protobuf/src/main/java/com/fasterxml/jackson/dataformat/protobuf/ProtobufParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2163,7 +2163,7 @@ protected void _skipVInt() throws IOException
21632163
// but loop beyond
21642164
for (int end = ptr+6; ptr < end; ++ptr) {
21652165
if (buf[ptr] >= 0) {
2166-
_inputPtr = ptr;
2166+
_inputPtr = ptr+1;
21672167
return;
21682168
}
21692169
}

release-notes/CREDITS

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ marsqing@github
2828
(2.8.10)
2929
* Reported #106 (protobuf), contributed fix for: calling _skipUnknownValue() twice
3030
(2.8.11 / 2.9.1)
31+
* Reported #116 (protobuf), contributed fix for: Should skip the positive byte
32+
which is the last byte of an varint
33+
(2.9.3)
3134

3235
baharclerode@github:
3336

@@ -47,3 +50,9 @@ Eldad Rudich (eldadru@github)
4750
* Reported #68 (proto): Getting "type not supported as root type by protobuf" for serialization
4851
of short and UUID types
4952
(2.9.0)
53+
54+
philipa@github
55+
56+
* Reported #114 (cbor), contributed fix for: copyStructure(): avoid duplicate tags
57+
when copying tagged binary
58+
(2.9.3)

release-notes/VERSION

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ Modules:
1111

1212
2.9.3 (not yet released)
1313

14-
#114: copyStructure(): avoid duplicate tags when copying tagged binary.
14+
#114: (cbor) copyStructure(): avoid duplicate tags when copying tagged binary.
1515
(contributed by philipa@github)
16+
#116: (protobuf) Should skip the positive byte which is the last byte of an varint
17+
(contributed by marsqing@github)
1618

1719
2.9.2 (14-Oct-2017)
1820

0 commit comments

Comments
 (0)