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

Handle invalid CBOR content like `[ 0x84 ]` (incomplete array) #240

Closed cowtowncoder closed 3 years ago

cowtowncoder commented 3 years ago

(inspired by https://github.com/FasterXML/jackson-databind/pull/3032)

Looks like there are types of invalid documents that do not trigger decoding exception for parser, but should.