sharpcompress icon indicating copy to clipboard operation
sharpcompress copied to clipboard

False positive in tar detection

Open DaleStan opened this issue 9 months ago • 1 comments

When I call ArchiveFactory.IsArchive with the attached file (which started life as a SQL CE database), it incorrectly reports that it's a tar file.

Is it possible to make the detection code stricter, or have I just stumbled across a pathological case? false positive.tar.txt

DaleStan avatar Apr 26 '24 17:04 DaleStan

You might have stumbled on something because the file gets read and looks for a tar header.

adamhathcock avatar Apr 27 '24 05:04 adamhathcock