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/11/27 02:11:00 UTC
[jira] [Resolved] (ARROW-10662) [Java] Avoid integer overflow for
Json file reader
[ https://issues.apache.org/jira/browse/ARROW-10662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Liya Fan resolved ARROW-10662.
------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
Issue resolved by pull request 8721
[https://github.com/apache/arrow/pull/8721]
> [Java] Avoid integer overflow for Json file reader
> --------------------------------------------------
>
> Key: ARROW-10662
> URL: https://issues.apache.org/jira/browse/ARROW-10662
> Project: Apache Arrow
> Issue Type: Bug
> Components: Java
> Reporter: Liya Fan
> Assignee: Liya Fan
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.0.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> For the current implementation, it uses {{int}} to represent the buffer size. However, the buffer can 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)