Scan zip for multiple threats

This commit is contained in:
atxr 2024-02-23 18:02:03 +01:00
parent a38b5d4ec4
commit 88becd6097
4 changed files with 168 additions and 37 deletions

View file

@ -44,7 +44,7 @@ void main(int argc, char** argv)
}
else
{
if (lfh->compression_method == DEFLATE)
if (lfh->compression_method == COMP_DEFLATE)
{
char* data = ((char*) lfh) + sizeof(LFH) + lfh->filename_length +
lfh->extraf_length;