You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (Jira)" <ji...@apache.org> on 2022/04/26 11:05:00 UTC

[jira] [Created] (TIKA-3734) Upgraded junrar parser throwing IllegalArgumentException on zero-byte streams

Tim Allison created TIKA-3734:
---------------------------------

             Summary: Upgraded junrar parser throwing IllegalArgumentException on zero-byte streams
                 Key: TIKA-3734
                 URL: https://issues.apache.org/jira/browse/TIKA-3734
             Project: Tika
          Issue Type: Task
            Reporter: Tim Allison


There's a new exception in junrar parsers.  When the junrar parser hits a stream that is zero bytes, it now throws an IllegalArgumentException.  That percolates through our stack and the rest of the file is not parsed.

We should add a check to see from the header if the unpackaged size is > 0. The triggering file:

{color:#067d17}DXXPDWQF6LURIMASV5I2PRQTTWXBTAW2{color}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)