You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/03/10 14:49:00 UTC
[jira] [Updated] (CAMEL-17774) ZipIterator can have null ZipInputStream
[ https://issues.apache.org/jira/browse/CAMEL-17774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-17774:
--------------------------------
Fix Version/s: 3.17.0
> ZipIterator can have null ZipInputStream
> ----------------------------------------
>
> Key: CAMEL-17774
> URL: https://issues.apache.org/jira/browse/CAMEL-17774
> Project: Camel
> Issue Type: Improvement
> Components: camel-zipfile
> Affects Versions: 3.14.2
> Reporter: Manos Tsantakis
> Priority: Minor
> Fix For: 3.17.0
>
>
> The constructor of ZipIterator sets zipInputStream to null in case of inputStream being null as well. {{}}
> [Here|https://github.com/apache/camel/blob/b92eef9ee18604e6e1d463f34f792b2eb73c6560/components/camel-zipfile/src/main/java/org/apache/camel/dataformat/zipfile/ZipIterator.java#L54]
> A null check [here|https://github.com/apache/camel/blob/b92eef9ee18604e6e1d463f34f792b2eb73c6560/components/camel-zipfile/src/main/java/org/apache/camel/dataformat/zipfile/ZipIterator.java#L51] would prevent that.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)