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 458: Add null checking #459

Closed arthurscchan closed 8 months ago

arthurscchan commented 8 months ago

This PR fixes issue #458 by adding a null check before accessing the length of the text string. This could avoid errors when getDecimalValue is invoked when there is no more data left in the input.

arthurscchan commented 8 months ago

Thanks for showing me the details of the problematic part.