Ismaël Mejía created AVRO-4342:
----------------------------------

             Summary: [ruby] Bound decode recursion depth
                 Key: AVRO-4342
                 URL: https://issues.apache.org/jira/browse/AVRO-4342
             Project: Apache Avro
          Issue Type: Sub-task
          Components: ruby
            Reporter: Ismaël Mejía
             Fix For: 1.13.0


Ruby 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)

Reply via email to