jorgecarleitao commented on issue #1425:
URL: https://github.com/apache/arrow-rs/issues/1425#issuecomment-1065000452


   fwiw, that is also what we do in arrow2 - we never take ownership of the 
pointers passed to our exporter; we just write to them (as they may have been 
allocated by someone else), see e.g. the example in 
https://jorgecarleitao.github.io/arrow2/ffi.html
   
   We did file a rust advisory on this last week, 
https://rustsec.org/advisories/RUSTSEC-2022-0012.html, as we incorrectly 
derived `Clone` to the FFI structs


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to