You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Micah Kornfield (Jira)" <ji...@apache.org> on 2021/05/11 15:51:00 UTC

[jira] [Resolved] (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 ]

Micah Kornfield resolved ARROW-12684.
-------------------------------------
    Fix Version/s: 5.0.0
       Resolution: Fixed

Issue resolved by pull request 10265
[https://github.com/apache/arrow/pull/10265]

> [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
>             Fix For: 5.0.0
>
>          Time Spent: 40m
>  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)