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

[jira] [Assigned] (ARROW-10860) [Java] Avoid integer overflow for generated classes in Vector

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

Liya Fan reassigned ARROW-10860:
--------------------------------

    Assignee: Kazuaki Ishizaki

> [Java] Avoid integer overflow for generated classes in Vector
> -------------------------------------------------------------
>
>                 Key: ARROW-10860
>                 URL: https://issues.apache.org/jira/browse/ARROW-10860
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: 3.0.0
>            Reporter: Kazuaki Ishizaki
>            Assignee: Kazuaki Ishizaki
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> This issue is similar to https://issues.apache.org/jira/browse/ARROW-10662.
> For the current implementation in the templates, {{int * int}} multiplication is used to calculate buffer offset. The result may be larger than Integer.MAX_VALUE, which will lead to integer overflow and unexpected behaviors.



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