Browse code

Fixed infloop in FSG2 handler

git-svn: trunk@1734

aCaB authored on 2005/10/24 19:33:06
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Mon Oct 24 12:29:31 CEST 2005 (acab)
2
+------------------------------------
3
+  * libclamav/pe.c: fixed possible infinite loop, reported by Christoph 
4
+
1 5
 Thu Oct 20 00:54:13 CEST 2005 (tk)
2 6
 ----------------------------------
3 7
   * libclamav/filetypes.c: cli_addtypesigs: initialise AC matcher in
... ...
@@ -730,6 +730,7 @@ int cli_scanpe(int desc, const char **virname, long int *scanned, const struct c
730 730
 			break;
731 731
 		}
732 732
 
733
+		break; /* were done with 2 */
733 734
 	    }
734 735
 	}
735 736