amazon-ion / ion-java

Java streaming parser/serializer for Ion.
https://amazon-ion.github.io/ion-docs/
Apache License 2.0
864 stars 110 forks source link

Fixes handling of annotation wrapper length overflows. #908

Closed tgregg closed 3 months ago

tgregg commented 3 months ago

Description of changes: Ensures that errors are raised cleanly when any component of an Ion 1.0 annotation header results in overflow of a Java long. Identified by oss-fuzz.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.