Browse code

wrong dereference fix

git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@163 77e5149b-7576-45b1-b177-96237e5ba77b

Tomasz Kojm authored on 2003/12/24 10:32:41
Showing 2 changed files
... ...
@@ -1,4 +1,10 @@
1
+Wed Dec 24 02:28:42 CET 2003 (tk)
2
+---------------------------------
3
+  * libclamav: fixed my last patch (instead of a value, a pointer was compared)
4
+	       Thanks to Nigel.
5
+
1 6
 Mon Dec 22 14:06:09 GMT 2003 (njh)
7
+----------------------------------
2 8
   * clamav-milter: Added --sign option
3 9
 
4 10
 Sun Dec 21 05:52:12 CET 2003 (tk)
... ...
@@ -11,8 +17,8 @@ Sat Dec 20 13:56:27 GMT 2003 (njh)
11 11
 ----------------------------------
12 12
   * libclamav: Ensure multipart just save the bodies of attachments
13 13
 
14
-Sat Dec 20 13:25:23 CET 2003
14
+Sat Dec 20 13:25:23 CET 2003 (tk)
15
+---------------------------------
15 16
   * clamdscan: fixed a segmentation fault when invoked without arguments
16 17
 	       (patch by David Santinoli <david*santinoli.com>)
17 18
   * libclamav: the memory limit and verbosity arguments in bzReadOpen() were
... ...
@@ -585,7 +585,7 @@ int cli_scanmail(int desc, char **virname, long int *scanned, const struct cl_no
585 585
 
586 586
     cli_dbgmsg("Starting cli_scanmail()\n");
587 587
 
588
-    if(reclev > 5) /* FIXME: a temporary workaround */
588
+    if(*reclev > 5) /* FIXME: a temporary workaround */
589 589
 	return CL_CLEAN;
590 590
 
591 591
 /*