Skip to content

Commit a5fb11d

Browse files
committed
Fix #128 for 2.8.11.1
1 parent 7de6b12 commit a5fb11d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
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
@@ -1003,7 +1003,7 @@ private void _skipUnknownValue(int wireType) throws IOException
10031003
_skipBytes(4);
10041004
break;
10051005
case WireType.FIXED_64BIT:
1006-
_skipBytes(64);
1006+
_skipBytes(8);
10071007
break;
10081008
case WireType.LENGTH_PREFIXED:
10091009
int len = _decodeLength();

release-notes/VERSION

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ Modules:
1313

1414
#95: Add new method, `withUnsafeReaderSchema` in `AvroSchema` to allow avoiding verification exception
1515

16+
2.8.11.1 (not yet released)
17+
18+
#128 (protobuf) Fix skip unknown WireType.FIXED_64BIT value bug
19+
(reported, contributed fix for by marsqing@github@github)
20+
1621
2.8.11 (24-Dec-2017)
1722

1823
#106: (protobuf) fix calling _skipUnknownValue() twice

0 commit comments

Comments
 (0)