Browse code

update

git-svn: trunk@1775

Tomasz Kojm authored on 2005/12/06 09:02:04
Showing 1 changed files
... ...
@@ -341,7 +341,7 @@ int cli_scanpe(int desc, const char **virname, long int *scanned, const struct c
341 341
 	if(EC16(file_hdr.SizeOfOptionalHeader) == sizeof(struct pe_image_optional_hdr64)) {
342 342
 	    pe_plus = 1;
343 343
 	} else {
344
-	    cli_warnmsg("Broken PE header detected.\n");
344
+	    cli_dbgmsg("Incorrect value of SizeOfOptionalHeader\n");
345 345
 	    if(DETECT_BROKEN) {
346 346
 		if(virname)
347 347
 		    *virname = "Broken.Executable";
... ...
@@ -1649,7 +1649,7 @@ int cli_peheader(int desc, struct cli_exe_info *peinfo)
1649 1649
 	if(EC16(file_hdr.SizeOfOptionalHeader) == sizeof(struct pe_image_optional_hdr64)) {
1650 1650
 	    pe_plus = 1;
1651 1651
 	} else {
1652
-	    cli_warnmsg("Broken PE header detected\n");
1652
+	    cli_dbgmsg("Incorrect value of SizeOfOptionalHeader\n");
1653 1653
 	    return -1;
1654 1654
 	}
1655 1655
     }