You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ben Kietzman (Jira)" <ji...@apache.org> on 2020/12/15 19:02:00 UTC

[jira] [Resolved] (ARROW-10852) [C++] AssertTablesEqual(verbose=true) segfaults if the left array has more rows

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

Ben Kietzman resolved ARROW-10852.
----------------------------------
    Resolution: Fixed

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

> [C++] AssertTablesEqual(verbose=true) segfaults if the left array has more rows
> -------------------------------------------------------------------------------
>
>                 Key: ARROW-10852
>                 URL: https://issues.apache.org/jira/browse/ARROW-10852
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 2.0.0
>            Reporter: Ben Kietzman
>            Assignee: Weston Pace
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.0.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> {{MultipleChunkIterator}} is used to implement the verbose comparison in AssertTablesEqual and seems to assume that the arrays have identical length. If the left chunkedarray is longer, this will result in segfaulting when trying to read nonexistent chunks of the right chunkedarray.



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