You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/05/07 10:01:00 UTC

[jira] [Updated] (ARROW-8728) [C++] Bitmap operation may cause buffer overflow

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

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

> [C++]  Bitmap operation may cause buffer overflow
> -------------------------------------------------
>
>                 Key: ARROW-8728
>                 URL: https://issues.apache.org/jira/browse/ARROW-8728
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>            Reporter: Yibo Cai
>            Assignee: Yibo Cai
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Happen to find this issue when refining bitmap operation,  [this code|https://github.com/apache/arrow/blob/9b75a60658327c39383bee48fa6e5827faf2ced3/cpp/src/arrow/util/bit_util.cc#L267] may overflow out buffer. Should be "(length + left_offset % 8)";
> Improve unit test to test large offset values can trigger the bug.



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