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

Stefan Bodewig updated COMPRESS-31:
-----------------------------------

    Fix Version/s: 1.0

> TarArchiveEntry uses bad size for directories in the File-arg constructor
> -------------------------------------------------------------------------
>
>                 Key: COMPRESS-31
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-31
>             Project: Commons Compress
>          Issue Type: Bug
>            Reporter: Stefan Bodewig
>            Assignee: Stefan Bodewig
>             Fix For: 1.0
>
>
> The File-arg constructor sets the size to File.length() which may be 
> different from 0 for directories on Unix-like systems.
> This leads to archives with entries that claim to have a length of say 4096 
> bytes but in fact don't contain any data at all, rendering the created 
> archive invalid.

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

Reply via email to