Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False positive in tar detection #837

Open
DaleStan opened this issue Apr 26, 2024 · 1 comment
Open

False positive in tar detection #837

DaleStan opened this issue Apr 26, 2024 · 1 comment
Labels

Comments

@DaleStan
Copy link

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

@adamhathcock
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants