Kazuaki Ishizaki created ARROW-10860:
----------------------------------------
Summary: [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
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)