Re: mutt/2173: When replying to a message, Mutt should filter control characters from headers
On 2006-03-15 04:45:03 +0100, TAKAHASHI Tamotsu wrote:
> I've just found a possible segmentation fault in it.
>
> A spam may have a header like "From: =?shift-jis?B??= <x@x>"
> but I assumed that mutt_buffer_addstr(b) is called at least
> once in mutt_filter_unprintable().
>
> mbyte.c:
> - *s = b->data;
> + *s = b->data ? b->data : safe_calloc(1,1);
Yes, indeed. Thanks.
--
Vincent Lefèvre <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