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

Ismaël Mejía reassigned AVRO-4291:
----------------------------------

    Assignee: Ismaël Mejía

> [ruby] Enforce a maximum decompressed block size
> ------------------------------------------------
>
>                 Key: AVRO-4291
>                 URL: https://issues.apache.org/jira/browse/AVRO-4291
>             Project: Apache Avro
>          Issue Type: Sub-task
>          Components: ruby
>    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.12.2
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> {{Avro::DataFile::Reader}} in {{lang/ruby/lib/avro/data_file.rb}} 
> decompresses each block (deflate via {{Zlib::Inflate}}, plus 
> 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)

Reply via email to