Fix crash when attempting to parse a JSON document that contains an extension...
Fix crash when attempting to parse a JSON document that contains an extension field for the wrong type of message.
I.e., if foo.extn is an extension for message foo.Foo, attempting to parse the document
{"[foo.extn]": 4}
as a foo.Bar would crash. This CL causes the parser to return an error instead.
PiperOrigin-RevId: 501299336
Loading
Please sign in to comment