Commits


Weston Pace authored and GitHub committed b9aec9ad2b6
GH-34906: [C++] Return invalid status instead of segfault if reading from a closed ArrayStreamBatchReader (#35016) ### Rationale for this change Segfaults should be avoided, even on improper calling patterns. ### What changes are included in this PR? Attempting to use a record batch reader, sourced from a C API stream, after it had been closed, will now return an invalid status instead of a segmentation fault. ### Are these changes tested? Yes, new unit tests were added to regress this usage. ### Are there any user-facing changes? No * Closes: #34906 Authored-by: Weston Pace <weston.pace@gmail.com> Signed-off-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>