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 2020/12/16 00:52:00 UTC

[jira] [Updated] (ARROW-10932) [C++] BinaryMemoTable::CopyOffsets access out-of-bound address when data is empty

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

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

> [C++] BinaryMemoTable::CopyOffsets access out-of-bound address when data is empty
> ---------------------------------------------------------------------------------
>
>                 Key: ARROW-10932
>                 URL: https://issues.apache.org/jira/browse/ARROW-10932
>             Project: Apache Arrow
>          Issue Type: Bug
>    Affects Versions: 1.0.0, 1.0.1, 2.0.0
>            Reporter: Jimmy Lu
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In [BinaryMemoTable::CopyOffsets|https://github.com/apache/arrow/blob/apache-arrow-2.0.0/cpp/src/arrow/util/hashing.h#L693], if there is no previous calls to insert data, {{offsets[start]}} will access out-of-bound address and cause undefined behavior.



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