[ 
https://issues.apache.org/jira/browse/AVRO-4328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ismaël Mejía updated AVRO-4328:
-------------------------------
    Fix Version/s: 1.13.0

> [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
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.13.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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