FasterXML / jackson-dataformats-binary

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

Fix for 432: Wrap additional `AssertionError` from `IonReader` #433

Closed arthurscchan closed 10 months ago

arthurscchan commented 10 months ago

This PR fixes https://github.com/FasterXML/jackson-dataformats-binary/issues/432 by wrapping the unexpected AssertionError with the general JsonParseException to avoid throwing AssertionError directly to the users when invalid input is provided.

cowtowncoder commented 10 months ago

Thank you @arthurscchan !