<<< Date Index >>>     <<< Thread Index >>>

Re: mutt/2173: When replying to a message, Mutt should filter control characters from headers



The following reply was made to PR mutt/2173; it has been noted by GNATS.

From: Vincent Lefevre <vincent@xxxxxxxxxx>
To: Mutt Developers <mutt-dev@xxxxxxxx>
Cc: bug-any@xxxxxxxxxxxxx
Subject: Re: mutt/2173: When replying to a message, Mutt should filter control 
characters from headers
Date: Wed, 15 Mar 2006 08:29:07 +0100

 On 2006-03-15 04:45:03 +0100, TAKAHASHI Tamotsu wrote:
 >  I've just found a possible segmentation fault in it.
 > =20
 >  A spam may have a header like "From: =3D?shift-jis?B??=3D <x@x>"
 >  but I assumed that mutt_buffer_addstr(b) is called at least
 >  once in mutt_filter_unprintable().
 > =20
 >  mbyte.c:
 >  -  *s =3D b->data;
 >  +  *s =3D b->data ? b->data : safe_calloc(1,1);
 
 Yes, indeed. Thanks.
 
 --=20
 Vincent Lef=E8vre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
 Work: CR INRIA - computer arithmetic / SPACES project at LORIA