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

Gary D. Gregory resolved COMPRESS-657.
--------------------------------------
    Fix Version/s: 1.25.1
       Resolution: Fixed

> TarArchiveEntry is both a file and a directory
> ----------------------------------------------
>
>                 Key: COMPRESS-657
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-657
>             Project: Commons Compress
>          Issue Type: Bug
>    Affects Versions: 1.25.0
>            Reporter: Sebastian Schuberth
>            Priority: Minor
>             Fix For: 1.25.1
>
>
> The archive at 
> https://files.pythonhosted.org/packages/ac/4a/43daa65b7ed984612267983039a58703c48ccbc62561abb43ec7bc8b0663/orjson-3.7.8.tar.gz
>  contains the entry {{orjson-3.7.8/include}} for which both 
> {{TarArchiveEntry.isDirectory}} and {{TarArchiveEntry.isFile}} return 
> {{true}}, whereas the entry is really only a directory. This results in code 
> that tries to extract file entries to fail, as the output stream for the 
> directory entry cannot be opened.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to