[ 
https://issues.apache.org/jira/browse/TIKA-3734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17528199#comment-17528199
 ] 

Hudson commented on TIKA-3734:
------------------------------

SUCCESS: Integrated in Jenkins build Tika » tika-main-jdk8 #525 (See 
[https://ci-builds.apache.org/job/Tika/job/tika-main-jdk8/525/])
TIKA-3734 -- avoid illegalargumentexception with zero byte streams (tallison: 
[https://github.com/apache/tika/commit/43d0434b82600458d053772caf6dedb22ece7013])
* (edit) 
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-pkg-module/src/main/java/org/apache/tika/parser/pkg/RarParser.java


> 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)

Reply via email to