wjones127 opened a new pull request, #34697:
URL: https://github.com/apache/arrow/pull/34697

   ### Rationale for this change
   
   See #34696
   
   ### What changes are included in this PR?
   
   Adds another check. Also removes DCHECKs from `SetData()`, since they are 
redundant with the `Validate()` checks and I don't think we do that for other 
arrays. Having them present made it harder to get to the root cause of this 
error, because `SetData()` is called on the array when validating a record 
batch.
   
   ### Are these changes tested?
   
   * [ ] Add tests
   
   ### Are there any user-facing changes?
   
   **This PR contains a "Critical Fix".** Without this, sending a REE array 
with an invalid null buffer through IPC to the C++ implementation will cause it 
to crash if the array is validated.


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