zeroshade commented on PR #35276:
URL: https://github.com/apache/arrow/pull/35276#issuecomment-1518710788

   @emkornfield the read crashes inside of Def Levels to Bitmap because the 
leaf array has no elements despite there being 1 record because it's an empty 
list. 
   
   The initialization of the bitmap writer attempts to grab a reference to the 
first byte of the bitmap, but because `lenBound` was 0, we resized the buffer 
to 0 bytes, so it tries to read byte 0 of an empty slice. It's definitely 
possible the C++ impl has this same issue, i haven't checked.


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