[
https://issues.apache.org/jira/browse/ARROW-15502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Liya Fan resolved ARROW-15502.
------------------------------
Fix Version/s: 8.0.0
Resolution: Fixed
Issue resolved by pull request 12296
[https://github.com/apache/arrow/pull/12296]
> [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
> Priority: Major
> Labels: pull-request-available
> Fix For: 8.0.0
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> 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)