Skip to content

Commit 2e1c95f

Browse files
authored
fix skip unknown WireType.FIXED_64BIT value bug
1 parent a2456ff commit 2e1c95f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-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
@@ -954,7 +954,7 @@ private void _skipUnknownValue(int wireType) throws IOException
954954
_skipBytes(4);
955955
break;
956956
case WireType.FIXED_64BIT:
957-
_skipBytes(64);
957+
_skipBytes(8);
958958
break;
959959
case WireType.LENGTH_PREFIXED:
960960
int len = _decodeLength();

0 commit comments

Comments
 (0)