git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@232 77e5149b-7576-45b1-b177-96237e5ba77b
Nigel Horne authored on 2004/02/03 02:12:16... | ... |
@@ -1,3 +1,8 @@ |
1 |
+Mon Feb 2 17:12:25 GMT 2004 (njh) |
|
2 |
+---------------------------------- |
|
3 |
+ * libclamav: Scan a rare form of bounce message identified by |
|
4 |
+ Denis De Messemacker <ddm@e-labs.org> |
|
5 |
+ |
|
1 | 6 |
Mon Feb 2 13:46:51 GMT 2004 (njh) |
2 | 7 |
---------------------------------- |
3 | 8 |
* libclamav: Carefully crafted binhex messages could have caused a crash |
... | ... |
@@ -17,6 +17,9 @@ |
17 | 17 |
* |
18 | 18 |
* Change History: |
19 | 19 |
* $Log: message.c,v $ |
20 |
+ * Revision 1.20 2004/02/02 17:10:04 nigelhorne |
|
21 |
+ * Scan a rare form of bounce message |
|
22 |
+ * |
|
20 | 23 |
* Revision 1.19 2004/02/02 15:52:09 nigelhorne |
21 | 24 |
* Remove handling of 8bit binhex files for now |
22 | 25 |
* |
... | ... |
@@ -54,7 +57,7 @@ |
54 | 54 |
* uuencodebegin() no longer static |
55 | 55 |
* |
56 | 56 |
*/ |
57 |
-static char const rcsid[] = "$Id: message.c,v 1.19 2004/02/02 15:52:09 nigelhorne Exp $"; |
|
57 |
+static char const rcsid[] = "$Id: message.c,v 1.20 2004/02/02 17:10:04 nigelhorne Exp $"; |
|
58 | 58 |
|
59 | 59 |
#ifndef CL_DEBUG |
60 | 60 |
/*#define NDEBUG /* map CLAMAV debug onto standard */ |
... | ... |
@@ -1000,6 +1003,7 @@ bounceBegin(const message *m) |
1000 | 1000 |
|
1001 | 1001 |
for(t_line = messageGetBody(m); t_line; t_line = t_line->t_next) |
1002 | 1002 |
if((strcasecmp(t_line->t_text, "--- Below this line is a copy of the message.") == 0) || |
1003 |
+ (strcmp(t_line->t_text, "=================================================================================") == 0) || |
|
1003 | 1004 |
(strcasecmp(t_line->t_text, "------ This is a copy of the message, including all the headers. ------") == 0)) |
1004 | 1005 |
return t_line; |
1005 | 1006 |
|