Ismaël Mejía created AVRO-4336:
----------------------------------
Summary: [c] Bound decode recursion depth
Key: AVRO-4336
URL: https://issues.apache.org/jira/browse/AVRO-4336
Project: Apache Avro
Issue Type: Sub-task
Components: c
Reporter: Ismaël Mejía
Fix For: 1.13.0
C SDK implementation of AVRO-4302.
Add a configurable maximum decode nesting depth enforced by counting structural
descents into records, arrays, maps and unions, rejecting input that nests
deeper than the limit with a bounded error instead of a stack overflow / native
crash. Default 100 (matching Protocol Buffers and the Java/Python
implementations), configurable via a language-appropriate setting.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)