FasterXML / jackson-dataformats-binary

Uber-project for standard Jackson binary format backends: avro, cbor, ion, protobuf, smile
Apache License 2.0
310 stars 133 forks source link

`ProtobufParser.currentName()` returns wrong value at root level #462

Closed cowtowncoder closed 8 months ago

cowtowncoder commented 8 months ago

(note: problem found when diagnosing #460)

Looks like ProtobufParser does not always update parsing/input context appropriately at root level: specifically, after last JsonToken.END_OBJECT it may still return last property name, instead of null.