pitrou opened a new issue, #50314: URL: https://github.com/apache/arrow/issues/50314
### Describe the enhancement requested In `DeltaBitPackDecoder::InitHeader` we're allocating scratch space for miniblock decoding. The size of this scratch space is entirely driven by values read from the [DELTA_BINARY_PACKED header](https://github.com/apache/parquet-format/blob/master/Encodings.md#delta-encoding-delta_binary_packed--5), and could therefore be outlandishly huge. Given that a huge miniblock size is unlikely to be seen in the wild (and would defeat the point of having miniblocks), we should probably reject non-reasonable values in `InitHeader`. ### Component(s) C++, Parquet -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
