You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2020/12/16 10:14:00 UTC
[jira] [Assigned] (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 ]
Antoine Pitrou reassigned ARROW-10932:
--------------------------------------
Assignee: Jimmy Lu
> [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
> Assignee: Jimmy Lu
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.0.0
>
> Time Spent: 40m
> 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.
> Proposed fix: https://github.com/apache/arrow/pull/8933
--
This message was sent by Atlassian Jira
(v8.3.4#803005)