[jira] Created: (COMPRESS-81) TarOutputStream can leave garbage at the end of the archive

View: New views
2 Messages — Rating Filter:   Alert me  

[jira] Created: (COMPRESS-81) TarOutputStream can leave garbage at the end of the archive

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

TarOutputStream can leave garbage at the end of the archive
-----------------------------------------------------------

                 Key: COMPRESS-81
                 URL: https://issues.apache.org/jira/browse/COMPRESS-81
             Project: Commons Compress
          Issue Type: Bug
    Affects Versions: 1.0
            Reporter: Stefan Bodewig
            Assignee: Stefan Bodewig
            Priority: Minor
             Fix For: 1.1


when the last block of the tar archive is incomplete it will contain two EOF blocks potentially followed by partial contents of the next-to-last block.  This causes problems with some "bad" untar implementations that read past the EOF blocks.

https://issues.apache.org/bugzilla/show_bug.cgi?id=47421
https://issues.apache.org/bugzilla/show_bug.cgi?id=40195



--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (COMPRESS-81) TarOutputStream can leave garbage at the end of the archive

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Stefan Bodewig resolved COMPRESS-81.
------------------------------------

    Resolution: Fixed

svn revision 789597 merges the fix from Ant's trunk

> TarOutputStream can leave garbage at the end of the archive
> -----------------------------------------------------------
>
>                 Key: COMPRESS-81
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-81
>             Project: Commons Compress
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Stefan Bodewig
>            Assignee: Stefan Bodewig
>            Priority: Minor
>             Fix For: 1.1
>
>
> when the last block of the tar archive is incomplete it will contain two EOF blocks potentially followed by partial contents of the next-to-last block.  This causes problems with some "bad" untar implementations that read past the EOF blocks.
> https://issues.apache.org/bugzilla/show_bug.cgi?id=47421
> https://issues.apache.org/bugzilla/show_bug.cgi?id=40195

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.