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

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


Python SDK implementation of AVRO-4302.

Bound the decode nesting depth by counting structural descents into records, 
arrays, maps and unions in DatumReader.read_data, rejecting input that nests 
deeper than the limit with a bounded AvroException instead of a RecursionError 
/ interpreter crash. Default 100, configurable via the AVRO_MAX_DECODE_DEPTH 
environment variable.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to