Laurent Wacrenier wrote :
> ---------------<snip>-------------
> Return-Path: <>
> Content-Type: multipart/mixed; boundary=xxx
> 
> --xxx
> Content-Type: text/
> 
> foo
> 
> --xxx--
> ---------------<snip>-------------
> % clamscan --mbox test3.mail
> Assertion failed: (subtype != NULL), function messageSetMimeSubtype, file message.c, 
> line 204.
> abort (core dumped)  clamscan --mbox test3.mail


Against this one, for clamav devel-20031106 :

--- libclamav/message.c.old     Wed Nov  5 08:03:51 2003
+++ libclamav/message.c Thu Nov  6 15:06:08 2003
@@ -204,7 +204,8 @@
 messageSetMimeSubtype(message *m, const char *subtype)
 {
        assert(m != NULL);
-       assert(subtype != NULL);
+       if (subtype == NULL)
+         subtype = "";
 
        if(m->mimeSubtype)
                free(m->mimeSubtype);


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Clamav-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-devel

Reply via email to