Re: [gmime-devel] another RFC2047-related problem



On 09/17/2010 07:08 AM, Marek Łętowski wrote:
> This is another example of message header causing problem
> in gmime parser:
>
> "=?utf-8?Q?MojeOri.pl_przes=C5=82any_przez_Sciaga.pl_ <sciaga maili maupa p?==?utf-8?Q?l>,\n
>                 ?= m-out-003 sciaga pl"
>
> (This is C syntax - the '\n' at the end means end of line,
> which is of course erroneus in this context - this message is not valid,
> but other programs, such as Thunderbird, are able to display other headers
> and text of the message)
>
> The parser does not recognize the end of RFC2047 word and
> enters endless loop.
>
> I would suggest to do the change attached below.
> This helps partially:  although the text is not read as intended by the author,
> but the parser produces reasonable results.
>
> Regards,
> Marek Łętowski
>   

Thanks! This is now fixed in git. This fix will be included in the next
release (2.4.20).

Jeff



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]