Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raise an error when decoding a field with tag 0
Fix the following errors reported by conformance test: CONFORMANCE TEST BEGIN ==================================== ERROR, test=Required.ProtobufInput.IllegalZeroFieldNum_Case_0: Should have failed to parse, but didn't. request=protobuf_payload: "\001DEADBEEF" requested_output_format: PROTOBUF, response=protobuf_payload: "\001DEADBEEF" ERROR, test=Required.ProtobufInput.IllegalZeroFieldNum_Case_1: Should have failed to parse, but didn't. request=protobuf_payload: "\002\001\001" requested_output_format: PROTOBUF, response=protobuf_payload: "\002\001\001" ERROR, test=Required.ProtobufInput.IllegalZeroFieldNum_Case_3: Should have failed to parse, but didn't. request=protobuf_payload: "\005DEAD" requested_output_format: PROTOBUF, response=protobuf_payload: "\005DEAD" These tests failed. If they can't be fixed right now, you can add them to the failure list so the overall suite can succeed. Add them to the failure list by running: ./update_failure_list.py --add failing_tests.txt Required.ProtobufInput.IllegalZeroFieldNum_Case_0 Required.ProtobufInput.IllegalZeroFieldNum_Case_1 Required.ProtobufInput.IllegalZeroFieldNum_Case_3 CONFORMANCE SUITE FAILED: 189 successes, 423 skipped, 0 expected failures, 3 unexpected failures.
- Loading branch information