commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Bodewig (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COMPRESS-463) ZipArchiveInputStream should throw if stored entry ends prematurely
Date Fri, 10 Aug 2018 14:02:00 GMT

     [ https://issues.apache.org/jira/browse/COMPRESS-463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stefan Bodewig updated COMPRESS-463:
------------------------------------
    Component/s: Archivers

> ZipArchiveInputStream should throw if stored entry ends prematurely
> -------------------------------------------------------------------
>
>                 Key: COMPRESS-463
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-463
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Archivers
>    Affects Versions: 1.17
>            Reporter: Stefan Bodewig
>            Priority: Major
>              Labels: zip
>             Fix For: 1.18
>
>
> If the archive stream ends before the claimed size of a stored entry has been hit the
stream returns -1 rather than throwing a "truncated archive" exception like it would do for
deflated entries.
> Because of this it is impossible to detect a truncated stored entry.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message