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

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

Jimmy Lu created ARROW-10932:
--------------------------------

             Summary: [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: 2.0.0, 1.0.1, 1.0.0
            Reporter: Jimmy Lu


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)