Hello,

I get the following error when ScanMail is enabled and ScanArchive is
disabled.
/var/src/clamav-0.65/test/test1: Recursion limit exceeded. ERROR

Here is a possible fix:

--- scanners.c.orig     Wed Nov 12 23:20:27 2003
+++ scanners.c  Wed Nov 12 23:18:45 2003
@@ -640,7 +640,7 @@
     if(SCAN_ARCHIVE || SCAN_MAIL) {
         /* Need to examine file type */

-       if(limits && limits->maxreclevel)
+       if(SCAN_ARCHIVE && limits && limits->maxreclevel)
            if(*reclev > limits->maxreclevel)
                return CL_EMAXREC;

-- 
Igor


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to