You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "Ismaël Mejía (Jira)" <ji...@apache.org> on 2026/07/11 10:03:00 UTC
[jira] [Updated] (AVRO-4282) [python] Bound collection size when decoding arrays and maps
[ https://issues.apache.org/jira/browse/AVRO-4282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ismaël Mejía updated AVRO-4282:
-------------------------------
Affects Version/s: 1.12.1
1.11.5
(was: 1.13.0)
> [python] Bound collection size when decoding arrays and maps
> ------------------------------------------------------------
>
> Key: AVRO-4282
> URL: https://issues.apache.org/jira/browse/AVRO-4282
> Project: Apache Avro
> Issue Type: Sub-task
> Components: python
> Affects Versions: 1.11.5, 1.12.1
> Reporter: Ismaël Mejía
> Assignee: Ismaël Mejía
> Priority: Major
>
> {{DatumReader.read_array()}} and {{read_map()}} in {{lang/py/avro/io.py}} iterate {{range(block_count)}} using the count read from input; the block size is skipped and no limit is applied.
> Add a configurable maximum collection length, validated per block and cumulatively, and raise a clear decoding error when exceeded. Add a corresponding test.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)