> I don't know if this has been reported already, though I haven't
> found anything so far.  Anyhow, when I read certain e-mails of the
> content-type multipart/alternative mutt crashes.  This same problem
> occurred when running this version of mutt under 3.7-current.
..
The details are in
http://bugs.mutt.org/cgi-bin/gnatsweb.pl?database=mutt&debug=&pr=2033&cmd=view+audit-trail
and now posted to bugtraq.  This is a possible patch.

--- handler.c.orig      Tue Mar 26 02:49:51 2002
+++ handler.c   Wed Aug 10 16:55:02 2005
@@ -95,7 +95,7 @@ static void convert_to_state(iconv_t cd,
     return;
   }
 
-  if (cd == (iconv_t)(-1))
+  if (cd == (iconv_t)(-1) || *l >= BUFI_SIZE)
   {
     state_prefix_put (bufi, *l, s);
     *l = 0;

Reply via email to