git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@478 77e5149b-7576-45b1-b177-96237e5ba77b
Nigel Horne authored on 2004/04/08 03:19:39... | ... |
@@ -17,6 +17,9 @@ |
17 | 17 |
* |
18 | 18 |
* Change History: |
19 | 19 |
* $Log: mbox.c,v $ |
20 |
+ * Revision 1.65 2004/04/07 18:18:07 nigelhorne |
|
21 |
+ * Some occurances of W97M.Lexar were let through |
|
22 |
+ * |
|
20 | 23 |
* Revision 1.64 2004/04/05 09:32:20 nigelhorne |
21 | 24 |
* Added SCAN_TO_DISC define |
22 | 25 |
* |
... | ... |
@@ -183,7 +186,7 @@ |
183 | 183 |
* Compilable under SCO; removed duplicate code with message.c |
184 | 184 |
* |
185 | 185 |
*/ |
186 |
-static char const rcsid[] = "$Id: mbox.c,v 1.64 2004/04/05 09:32:20 nigelhorne Exp $"; |
|
186 |
+static char const rcsid[] = "$Id: mbox.c,v 1.65 2004/04/07 18:18:07 nigelhorne Exp $"; |
|
187 | 187 |
|
188 | 188 |
#if HAVE_CONFIG_H |
189 | 189 |
#include "clamav-config.h" |
... | ... |
@@ -734,8 +737,22 @@ parseEmailBody(message *messageIn, blob **blobsIn, int nBlobs, text *textIn, con |
734 | 734 |
inMimeHead, inhead, boundary, line, t_line->t_next ? t_line->t_next->t_text : "(null)");*/ |
735 | 735 |
|
736 | 736 |
if(inMimeHead) { |
737 |
+ /* |
|
738 |
+ * Handle continuation lines |
|
739 |
+ * because the previous line |
|
740 |
+ * ended with a ; |
|
741 |
+ */ |
|
737 | 742 |
cli_dbgmsg("About to add mime Argument '%s'\n", |
738 | 743 |
line); |
744 |
+ /* |
|
745 |
+ * Handle the case when it |
|
746 |
+ * isn't really a continuation |
|
747 |
+ * line: |
|
748 |
+ * Content-Type: application/octet-stream; |
|
749 |
+ * Content-Transfer-Encoding: base64 |
|
750 |
+ */ |
|
751 |
+ parseEmailHeader(aMessage, line, rfc821Table); |
|
752 |
+ |
|
739 | 753 |
while(isspace((int)*line)) |
740 | 754 |
line++; |
741 | 755 |
|