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 2022/01/30 06:17:00 UTC

[jira] [Created] (ARROW-15502) [Java] Detect exceptional footer size in Arrow file reader

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)