[
https://issues.apache.org/jira/browse/AVRO-3819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated AVRO-3819:
---------------------------------
Labels: pull-request-available (was: )
> [Java] Rationalize the system properties that limit allocation
> --------------------------------------------------------------
>
> Key: AVRO-3819
> URL: https://issues.apache.org/jira/browse/AVRO-3819
> Project: Apache Avro
> Issue Type: Bug
> Components: java
> Reporter: Ryan Skraba
> Assignee: Ryan Skraba
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.11.3
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> There are currently some system properties that limit datum allocation size:
> * org.apache.avro.limits.byte.maxLength
> * org.apache.avro.limits.string.maxLength
> These are hidden in two different classes (Utf8 and BinaryDecoder). It would
> make sense to centralize them in one place to make it clearer how to limit
> the damage untrusted data could do while deserializing.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)