tustvold opened a new issue, #3671:
URL: https://github.com/apache/arrow-rs/issues/3671

   **Describe the bug**
   <!--
   A clear and concise description of what the bug is.
   -->
   
   Passing an `ffi::ArrowArray` with a non-zero offset, results in an 
`ArrayData` with `Buffer` with truncated lengths, as it assumes they have no 
offset when recording their length.
   
   This is the cause of #3646
   
   **To Reproduce**
   <!--
   Steps to reproduce the behavior:
   -->
   
   **Expected behavior**
   <!--
   A clear and concise description of what you expected to happen.
   -->
   
   Sliced arrays should round-trip through FFI
   
   **Additional context**
   <!--
   Add any other context about the problem here.
   -->
   
   I don't think this can result in UB, it just results in bounds checks 
failing when they shouldn't


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