git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@1083 77e5149b-7576-45b1-b177-96237e5ba77b
Nigel Horne authored on 2004/11/10 19:12:27... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Wed Nov 10 10:12:18 GMT 2004 (njh) |
|
2 |
+---------------------------------- |
|
3 |
+ * libclamav/mbox.c: Fix escaped parenthesis in rfc822 comments |
|
4 |
+ |
|
1 | 5 |
Tue Nov 9 19:43:38 GMT 2004 (njh) |
2 | 6 |
---------------------------------- |
3 | 7 |
* libclamav: Scan uuencoded files in preambles to multipart messages |
... | ... |
@@ -17,6 +17,9 @@ |
17 | 17 |
* |
18 | 18 |
* Change History: |
19 | 19 |
* $Log: mbox.c,v $ |
20 |
+ * Revision 1.174 2004/11/10 10:08:45 nigelhorne |
|
21 |
+ * Fix escaped parenthesis in rfc822 comments |
|
22 |
+ * |
|
20 | 23 |
* Revision 1.173 2004/11/09 19:40:06 nigelhorne |
21 | 24 |
* Find uuencoded files in preambles to multipart messages |
22 | 25 |
* |
... | ... |
@@ -507,7 +510,7 @@ |
507 | 507 |
* Compilable under SCO; removed duplicate code with message.c |
508 | 508 |
* |
509 | 509 |
*/ |
510 |
-static char const rcsid[] = "$Id: mbox.c,v 1.173 2004/11/09 19:40:06 nigelhorne Exp $"; |
|
510 |
+static char const rcsid[] = "$Id: mbox.c,v 1.174 2004/11/10 10:08:45 nigelhorne Exp $"; |
|
511 | 511 |
|
512 | 512 |
#if HAVE_CONFIG_H |
513 | 513 |
#include "clamav-config.h" |
... | ... |
@@ -2696,7 +2699,8 @@ rfc822comments(const char *in) |
2696 | 2696 |
|
2697 | 2697 |
for(iptr = in; *iptr; iptr++) |
2698 | 2698 |
if(backslash) { |
2699 |
- *optr++ = *iptr; |
|
2699 |
+ if(commentlevel == 0) |
|
2700 |
+ *optr++ = *iptr; |
|
2700 | 2701 |
backslash = 0; |
2701 | 2702 |
} else switch(*iptr) { |
2702 | 2703 |
case '\\': |