You are viewing a plain text version of this content. The canonical link for it is here.
Posted to zeta-issues@incubator.apache.org by "Derick Rethans (JIRA)" <ji...@apache.org> on 2010/09/02 11:18:53 UTC
[jira] Closed: (ZETACOMP-8) [Archive] Double extraction causes
empty file
[ https://issues.apache.org/jira/browse/ZETACOMP-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Derick Rethans closed ZETACOMP-8.
---------------------------------
Resolution: Fixed
Fixed in rev. 991891.
> [Archive] Double extraction causes empty file
> ---------------------------------------------
>
> Key: ZETACOMP-8
> URL: https://issues.apache.org/jira/browse/ZETACOMP-8
> Project: Zeta Components
> Issue Type: Bug
> Components: Archive
> Environment: Linux, Apache, PHP 5.2, eZ Publish 4.4 alpha6
> Reporter: Gunnstein Lye
> Assignee: Derick Rethans
> Attachments: archive-extract-test-public.php, Archive_src_tar_v7.php-trunk.diff, tar_v7_truncated_block.tar, ZETACOMP-8.patch
>
>
> Using extractCurrent() to extract a single file, and then extract() to dump the whole archive, the file I extracted first is now empty (0 byte length).
> I have test code to reproduce this, and a patch that fixes it for me. If the patch is correct, the issue is that zero is incorrectly assumed equal to false.
> I see the issue only with one particular eZ Publish package file (ezpkg/tar.gz) so it could be a problem with that file as well. GNU tar/gz extracts it without problems or warnings, though. I cannot post this file publicly. I can give it to current or former eZ employees, please contact me.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.