Browse code

update

git-svn: trunk@950

Tomasz Kojm authored on 2004/09/30 17:04:25
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Thu Sep 30 10:01:23 CEST 2004 (tk)
2
+----------------------------------
3
+  * libclamav/matcher: handle Exploit.JPEG.Comment.*
4
+
1 5
 Thu Sep 30 02:19:12 CEST 2004 (tk)
2 6
 ----------------------------------
3 7
   * libclamav/special.c: add cli_check_jpeg_exploit (by Trog)
... ...
@@ -177,7 +177,7 @@ int cli_validatesig(unsigned short target, unsigned short ftype, const char *off
177 177
 	}
178 178
     }
179 179
 
180
-    if(ftype == CL_TYPE_GRAPHICS && virname && !strcmp(virname, "Exploit.JPEG.Comment")) {
180
+    if(ftype == CL_TYPE_GRAPHICS && virname && !strncmp(virname, "Exploit.JPEG.Comment", 20)) {
181 181
 	    int old;
182 182
 
183 183
 	if((old = lseek(desc, 0, SEEK_CUR)) == -1) {