Skip to content

[C++][Parquet] Avoid unbounded temporary allocation in DeltaBitPackDecoder::DecodeArrow #49805

@pitrou

Description

@pitrou

Describe the enhancement requested

DeltaBitPackDecoder::DecodeArrow allocates a temporary std::vector for the entire range of decoded values.
This is sub-optimal, and generates out-of-memory failures in the Parquet encoding fuzzer.

We should instead use a fixed-size temporary buffer.

OSS-Fuzz issue: https://issues.oss-fuzz.com/issues/489941774

Component(s)

C++, Parquet

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions