git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@541 77e5149b-7576-45b1-b177-96237e5ba77b
Nigel Horne authored on 2004/05/06 20:29:15... | ... |
@@ -1,3 +1,12 @@ |
1 |
+Thu May 6 12:27:03 BST 2004 (njh) |
|
2 |
+---------------------------------- |
|
3 |
+ * libclamav/mbox.c: Ensure all attachements marked as RFC822 emails will |
|
4 |
+ be recognised as email messages by libclamav/scanners.c |
|
5 |
+ and hence be scanned |
|
6 |
+ * clamav-milter: Fixed boundary cases for streamMaxLength |
|
7 |
+ Warn if a clean file can't be removed from the |
|
8 |
+ quarantine |
|
9 |
+ |
|
1 | 10 |
Thu May 6 11:34:40 CEST 2004 (tk) |
2 | 11 |
---------------------------------- |
3 | 12 |
* shared/output: logg: work around a problem with superfluous control |
... | ... |
@@ -17,6 +17,9 @@ |
17 | 17 |
* |
18 | 18 |
* Change History: |
19 | 19 |
* $Log: mbox.c,v $ |
20 |
+ * Revision 1.69 2004/05/06 11:26:49 nigelhorne |
|
21 |
+ * Force attachments marked as RFC822 messages to be scanned |
|
22 |
+ * |
|
20 | 23 |
* Revision 1.68 2004/04/29 08:59:24 nigelhorne |
21 | 24 |
* Tidied up SetDispositionType |
22 | 25 |
* |
... | ... |
@@ -195,7 +198,7 @@ |
195 | 195 |
* Compilable under SCO; removed duplicate code with message.c |
196 | 196 |
* |
197 | 197 |
*/ |
198 |
-static char const rcsid[] = "$Id: mbox.c,v 1.68 2004/04/29 08:59:24 nigelhorne Exp $"; |
|
198 |
+static char const rcsid[] = "$Id: mbox.c,v 1.69 2004/05/06 11:26:49 nigelhorne Exp $"; |
|
199 | 199 |
|
200 | 200 |
#if HAVE_CONFIG_H |
201 | 201 |
#include "clamav-config.h" |
... | ... |
@@ -1068,6 +1071,7 @@ parseEmailBody(message *messageIn, blob **blobsIn, int nBlobs, text *textIn, con |
1068 | 1068 |
} |
1069 | 1069 |
break; |
1070 | 1070 |
case MESSAGE: |
1071 |
+ /* Content-Type: message/rfc822 */ |
|
1071 | 1072 |
cli_dbgmsg("Found message inside multipart\n"); |
1072 | 1073 |
if(encodingLine(aMessage) == NULL) { |
1073 | 1074 |
assert(aMessage == messages[i]); |
... | ... |
@@ -1075,6 +1079,8 @@ parseEmailBody(message *messageIn, blob **blobsIn, int nBlobs, text *textIn, con |
1075 | 1075 |
messages[i] = NULL; |
1076 | 1076 |
continue; |
1077 | 1077 |
} |
1078 |
+ messageAddLineAtTop(aMessage, |
|
1079 |
+ "Received: by clamd"); |
|
1078 | 1080 |
#ifdef SAVE_TO_DISC |
1079 | 1081 |
/* |
1080 | 1082 |
* Save this embedded message |