Messages that have no textual parts seem to break clamscan.  The
following patch, against the current devel snapshot, allows clamscan
to continue, but might not be the best fix.
 
--- mbox.c~     Mon Sep 15 15:09:42 2003
+++ mbox.c      Sun Sep 21 16:57:27 2003
@@ -594,7 +597,8 @@
                                                        break;
                                                }
 
-                               assert(htmltextPart != -1);
+                               if (! (htmltextPart != -1))
+                                 break;
 
                                rc = insert(aMessage, blobs, nBlobs, aText, dir, 
rfc821Table, subtypeTable);
                                blobArrayDestroy(blobs, nBlobs);

 
-- 
(domestic pets only, the antidote for overdose, milk.)
  [EMAIL PROTECTED] * Lars Magne Ingebrigtsen



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Clamav-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-devel

Reply via email to