You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Ismaël Mejía (Jira)" <ji...@apache.org> on 2026/08/22 11:50:00 UTC

[jira] [Created] (AVRO-4342) [ruby] Bound decode recursion depth

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)