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

   ### Rationale for this change
   WriteArrowSerialize could unconditionally read values from the Arrow array 
even for null rows. Since it's possible the caller could provided a zero-sized 
dummy buffer for all-null arrays, this caused an ASAN heap-buffer-overflow.
   
   ### What changes are included in this PR?
   Early check the array is not all null values before serialize it
   
   ### Are these changes tested?
   
   Added 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