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

Add support for `StreamWriteConstraints` checks #386

Closed pjfanning closed 1 year ago

pjfanning commented 1 year ago

relates to https://github.com/FasterXML/jackson-core/pull/1055

cowtowncoder commented 1 year ago

Phew. Managed to merge to master.

One quick note: limits will not work with Avro serialization as of now -- problem is that we construct Avro's internal objects using separate stack. If anyone has time and interest, this is solvable; just need to add checks in bit different places.

I'll actually create a new issue for this flaw.