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/20 02:17:00 UTC

[jira] [Created] (ARROW-10662) [Java] Avoid integer overflow for Json file reader

Liya Fan created ARROW-10662:
--------------------------------

             Summary: [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


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)