ProjectMutilation opened a new issue, #49445:
URL: https://github.com/apache/arrow/issues/49445

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   In the function 
https://github.com/apache/arrow/blob/d42c7ddcc233b8f372dfd7b74f51953517e16605/cpp/src/arrow/c/bridge.cc#L2615
   The pointer self->producer was unsafely dereferenced after NULL check
   
https://github.com/apache/arrow/blob/d42c7ddcc233b8f372dfd7b74f51953517e16605/cpp/src/arrow/c/bridge.cc#L2618
   
https://github.com/apache/arrow/blob/d42c7ddcc233b8f372dfd7b74f51953517e16605/cpp/src/arrow/c/bridge.cc#L2632
   It is likely that the check is not necessary but it could be a cause of a 
segmentation fault.
   
   ### Component(s)
   
   C++


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