Sebastian Schuberth created COMPRESS-657:
--------------------------------------------
Summary: 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
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)