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 2021/02/24 18:11:00 UTC

[jira] [Created] (ARROW-11767) [C++] Scalar::hash may segfault for null scalars

Ben Kietzman created ARROW-11767:
------------------------------------

             Summary: [C++] Scalar::hash may segfault for null scalars
                 Key: ARROW-11767
                 URL: https://issues.apache.org/jira/browse/ARROW-11767
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
    Affects Versions: 3.0.0
            Reporter: Ben Kietzman
            Assignee: Ben Kietzman
             Fix For: 4.0.0


Scalar::Hash does not check Scalar::is_valid, which can result in inconsistent hashes when applied to uninitialized {{/.*Scalar::value/}} or may segfault (since null binary scalars may have a null buffer).



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