AndreaBozzo commented on issue #7136:
URL: https://github.com/apache/arrow-rs/issues/7136#issuecomment-6449325532

   without build unchecked, wdyt?
   
   ```rust
   // Utf8 ["a","bb","ccc"], offsets [0,1,3,6] stored one byte off alignment
   let ffi: FFI_ArrowArray = unsafe { ptr::read((&raw_c_array as *const 
ArrowArray).cast()) };
   let imported = unsafe { from_ffi(ffi, 
&FFI_ArrowSchema::try_from(&DataType::Utf8)?) }?;
   // panicked at arrow-array-60.0.0/src/ffi.rs:495:27: misaligned pointer 
dereference
   ```


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