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

   ### Rationale for this change
   
   The Parquet encoding fuzzer can allocate a std::vector of an arbitrary size. 
This can produce OOMs in the fuzzer.
   
   Issue found by OSS-Fuzz: https://issues.oss-fuzz.com/issues/506741109
   
   ### What changes are included in this PR?
   
   1. Use `arrow::stl::allocator` to delegate `std::vector` allocations to the 
fuzzing memory pool
   2. Catch any `std::vector` allocation exceptions and convert them to regular 
Status errors
   
   ### Are these changes tested?
   
   Yes, by new regression file.
   
   ### 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