pitrou opened a new pull request, #49838:
URL: https://github.com/apache/arrow/pull/49838

   ### Rationale for this change
   
   `DeltaLengthByteArrayDecoder::DecodeArrow` and 
`DeltaByteArrayDecoder::DecodeArrow` both allocate a temporary `std::vector` 
for the entire range of decoded values.
   This generates out-of-memory failures in the Parquet encoding fuzzer as this 
unbounded allocation bypasses the custom fuzzing memory pool.
   
   This issue was found by OSS-Fuzz: 
https://oss-fuzz.com/testcase-detail/6634166832922624
   
   ### What changes are included in this PR?
   
   Use the given MemoryPool to allocate a temporary buffer, so that potential 
memory limits are applied.
   
   ### Are these changes tested?
   
   Yes, using existing tests.
   
   ### Are there any user-facing changes?
   
   No.
   


-- 
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]

Reply via email to