git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@707 77e5149b-7576-45b1-b177-96237e5ba77b
Nigel Horne authored on 2004/07/30 23:36:31... | ... |
@@ -1,3 +1,8 @@ |
1 |
+Fri Jul 30 15:35:19 BST 2004 (njh) |
|
2 |
+---------------------------------- |
|
3 |
+ * clamav-milter: Handle change in the clamd message when |
|
4 |
+ StreamMaxLength is exceeded |
|
5 |
+ |
|
1 | 6 |
Fri Jul 30 12:52:34 BST 2004 (njh) |
2 | 7 |
---------------------------------- |
3 | 8 |
* libclamav/message.c: Code tidy |
... | ... |
@@ -448,6 +448,7 @@ Changes |
448 | 448 |
0.75c 29/7/04 Better load balancing if max_children = 0 |
449 | 449 |
Use HAVE_GETHOSTBYNAME_R_6 |
450 | 450 |
0.75d 29/7/04 Don't say "waiting for some to exit" if --dont-wait |
451 |
+0.75e 30/7/04 Handle new clamd message when StreamMaxLength is exceeded |
|
451 | 452 |
|
452 | 453 |
BUG REPORTS |
453 | 454 |
|
... | ... |
@@ -26,6 +26,9 @@ |
26 | 26 |
* |
27 | 27 |
* Change History: |
28 | 28 |
* $Log: clamav-milter.c,v $ |
29 |
+ * Revision 1.113 2004/07/30 14:34:56 nigelhorne |
|
30 |
+ * Handle changed clamd message |
|
31 |
+ * |
|
29 | 32 |
* Revision 1.112 2004/07/29 15:24:47 nigelhorne |
30 | 33 |
* Don't say waiting for some to exit if dont_wait is set |
31 | 34 |
* |
... | ... |
@@ -347,9 +350,9 @@ |
347 | 347 |
* Revision 1.6 2003/09/28 16:37:23 nigelhorne |
348 | 348 |
* Added -f flag use MaxThreads if --max-children not set |
349 | 349 |
*/ |
350 |
-static char const rcsid[] = "$Id: clamav-milter.c,v 1.112 2004/07/29 15:24:47 nigelhorne Exp $"; |
|
350 |
+static char const rcsid[] = "$Id: clamav-milter.c,v 1.113 2004/07/30 14:34:56 nigelhorne Exp $"; |
|
351 | 351 |
|
352 |
-#define CM_VERSION "0.75d" |
|
352 |
+#define CM_VERSION "0.75e" |
|
353 | 353 |
|
354 | 354 |
/*#define CONFDIR "/usr/local/etc"*/ |
355 | 355 |
|
... | ... |
@@ -2090,7 +2093,7 @@ clamfi_eom(SMFICTX *ctx) |
2090 | 2090 |
} |
2091 | 2091 |
|
2092 | 2092 |
if(strstr(mess, "ERROR") != NULL) { |
2093 |
- if(strstr(mess, "Size exceeded") != NULL) { |
|
2093 |
+ if(strstr(mess, "Size limit reached") != NULL) { |
|
2094 | 2094 |
/* |
2095 | 2095 |
* Clamd has stopped on StreamMaxLength before us |
2096 | 2096 |
*/ |