The message still crash clamav devel-20031112.
Is it a problem to apply this 3 lines patch ?
Any reproductible crash is a source of deny of service.
Le Jeu 6 nov 15:12:21 2003, Laurent Wacrenier �crit:
> 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 sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Clamav-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-devel