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/07/11 12:16:00 UTC
[jira] [Created] (AVRO-4290) [python] Enforce a maximum decompressed block size
Ismaël Mejía created AVRO-4290:
----------------------------------
Summary: [python] Enforce a maximum decompressed block size
Key: AVRO-4290
URL: https://issues.apache.org/jira/browse/AVRO-4290
Project: Apache Avro
Issue Type: Sub-task
Components: python
Affects Versions: 1.13.0
Reporter: Ismaël Mejía
The codecs in {{lang/py/avro/codecs.py}} decompress each block (deflate via {{zlib.decompress}} without a bufsize/limit, plus bzip2/snappy/zstandard) with no bound on the output size.
Enforce a configurable maximum decompressed size and raise a clear error when a block would exceed it. Add a test with a high-ratio block.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)