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 12:25:00 UTC
[jira] [Resolved] (TIKA-3734) Upgraded junrar parser throwing IllegalArgumentException on zero-byte streams
[ https://issues.apache.org/jira/browse/TIKA-3734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Allison resolved TIKA-3734.
-------------------------------
Fix Version/s: 1.28.2
2.4.0
Resolution: Fixed
> 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
> Priority: Minor
> Fix For: 1.28.2, 2.4.0
>
>
> 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)