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

[jira] [Updated] (ARROW-10860) [Java] Avoid integer overflow for Json file reader

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

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

> [Java] Avoid integer overflow for Json file reader
> --------------------------------------------------
>
>                 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
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 10m
>  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)