Ryan Skraba created AVRO-3819:
---------------------------------
Summary: [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
Fix For: 1.11.3
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)