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 22:13:00 UTC
[jira] [Resolved] (ARROW-11767) [C++] Scalar::hash may segfault for
null scalars
[ https://issues.apache.org/jira/browse/ARROW-11767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Kietzman resolved ARROW-11767.
----------------------------------
Resolution: Fixed
Issue resolved by pull request 9562
[https://github.com/apache/arrow/pull/9562]
> [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
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)