Non-archive files are treated as archives due to extension

Open

Scanning
j

johnsanc

last year

In rare occurrences, files may have an extension of .zip or .7z but the file is not actually an archive at all. When this occurs RomVault treats the file as a corrupt archive and does not hash the file. This is problematic for some sets like FB Neo and the set "saurop" which has a file called "s7.7z" which is not an archive. If the user chooses to store uncompressed, this file never properly scanned unless manually renamed first.

Expected behavior:

  • Archive detection should rely on the archive header. If there is an invalid header and no reasonable indication that the file is an archive at all, then the archive should be treated as a regular file with and no error triggered.



Activity

No events for this post.


Powered by Convas