You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/02/11 22:46:46 UTC

[GitHub] [arrow] Dandandan commented on pull request #9478: ARROW-11604: [Rust] Remove some unsafe with fill

Dandandan commented on pull request #9478:
URL: https://github.com/apache/arrow/pull/9478#issuecomment-777843236


   > When we set the len to beyond the uninitialized region and then use from_raw_parts (via as_slice -> Deref), aren't we violating the invariant above?
   
   @jorgecarleitao hmm I think you're right, didn't think this through well enough...


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

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