felipecrv commented on issue #35581:
URL: https://github.com/apache/arrow/issues/35581#issuecomment-1553268646

   ```cpp
   return span; // Undefined Behavior; the returned copy views
                // a stack variable whose lifetime has ended.
   ```
   
   We can check if the buffers are pointing to scratch space and re-wire them 
if they are pointing to the previous value.


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