Matt Topol created ARROW-12684: ---------------------------------- Summary: [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
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)