incubator-zeta-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derick Rethans (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (ZETACOMP-8) [Archive] Double extraction causes empty file
Date Fri, 30 Jul 2010 09:55:16 GMT

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

Derick Rethans reassigned ZETACOMP-8:
-------------------------------------

    Assignee: Derick Rethans

> [Archive] Double extraction causes empty file
> ---------------------------------------------
>
>                 Key: ZETACOMP-8
>                 URL: https://issues.apache.org/jira/browse/ZETACOMP-8
>             Project: Zeta Components
>          Issue Type: Bug
>         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
>
>
> 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.


Mime
View raw message