You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/05/07 14:26:00 UTC

[jira] [Updated] (ARROW-12684) [Go][Flight] Fix nil dereference in error case

     [ https://issues.apache.org/jira/browse/ARROW-12684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ARROW-12684:
-----------------------------------
    Labels: pull-request-available  (was: )

> [Go][Flight] Fix nil dereference in error case
> ----------------------------------------------
>
>                 Key: ARROW-12684
>                 URL: https://issues.apache.org/jira/browse/ARROW-12684
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: FlightRPC, Go
>            Reporter: Matt Topol
>            Assignee: Matt Topol
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> https://github.com/apache/arrow/blob/master/go/arrow/flight/record_batch_reader.go#L49
> If the first message read errors, then we attempt to call `msg.Release` on a nil pointer. Just need to add a proper nil check like in the Release function itself.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)