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

Fix issue 460: Add null check #461

Closed arthurscchan closed 8 months ago

arthurscchan commented 8 months ago

This PR provides a suggested fix for issue #460 by adding a null check for the return value of ProtobufReadContext::getParent() method call.

cowtowncoder commented 8 months ago

Thank you for providing the reproduction! I'll see what are the options; null check may be applicable but I want to see that there isn't some root cause that requires other fix(es).