[
https://issues.apache.org/jira/browse/ARROW-4767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17661789#comment-17661789
]
Rok Mihevc commented on ARROW-4767:
-----------------------------------
This issue has been migrated to [issue
#21286|https://github.com/apache/arrow/issues/21286] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [C#] ArrowStreamReader crashes while reading the end of a stream
> ----------------------------------------------------------------
>
> Key: ARROW-4767
> URL: https://issues.apache.org/jira/browse/ARROW-4767
> Project: Apache Arrow
> Issue Type: Bug
> Components: C#
> Reporter: Prashanth Govindarajan
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.13.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> ReadRecordBatchAsync crashes at the end of a stream when messageLength is 0.
> "0" indicates the end of the stream, so we should just return null. The call
> Flatbug.Message.GetRootAsMessage seems to be crashing. The fix is simple and
> safe. I'll have a PR up soon.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)