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/08/09 10:17:00 UTC
[jira] [Updated] (AVRO-4289) [php] Enforce a maximum decompressed block size
[ https://issues.apache.org/jira/browse/AVRO-4289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ismaël Mejía updated AVRO-4289:
-------------------------------
Fix Version/s: 1.13.0
(was: 1.12.2)
> [php] Enforce a maximum decompressed block size
> -----------------------------------------------
>
> Key: AVRO-4289
> URL: https://issues.apache.org/jira/browse/AVRO-4289
> Project: Apache Avro
> Issue Type: Sub-task
> Components: php
> Affects Versions: 1.11.5, 1.12.1
> Reporter: Ismaël Mejía
> Assignee: Ismaël Mejía
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.13.0
>
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
> {{AvroDataIOReader::data()}} in {{lang/php/lib/DataFile/AvroDataIOReader.php}} decompresses each block (deflate via {{gzinflate}}, plus zstandard/snappy/bzip2) with no bound on the output size.
> Enforce a configurable maximum decompressed size and fail decoding with 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)