Liya Fan created ARROW-15502:
--------------------------------
Summary: [Java] Detect exceptional footer size in Arrow file reader
Key: ARROW-15502
URL: https://issues.apache.org/jira/browse/ARROW-15502
Project: Apache Arrow
Issue Type: Bug
Components: Java
Reporter: Liya Fan
Assignee: Liya Fan
When a malformed Arrow file containing an extremely large footer size (much
larger than the file size) is fed to the ArrowFileReader, our implementation
fails detect the problem, due to integer arithmetic overflow.
This will lead to extremely large memory allocation and eventually causing an
OutOfMemoryError.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)