bug-mailutils
[Top][All Lists]
Advanced

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

Re: [bug-mailutils] improve behavior of mu_mimehdr_a?get_disp


From: Kostik
Subject: Re: [bug-mailutils] improve behavior of mu_mimehdr_a?get_disp
Date: Tue, 04 May 2010 14:21:43 +0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.6.0

Kostik wrote:
> And new small complaint:

And another one. If the Content-Disposition quoted-printable filename is
corrupt, then call mu_message_aget_decoded_attachment_name() leads to:
---
*** glibc detected *** ./findattach: double free or corruption (fasttop):
0x098bc620 ***
---
and my util went down.


Example:
---
Content-Type: application/msword;
 
name="=?windows-1251?Q?=EF=F0=EE=E3=F0=E0=EC=EC=E0_=F0=E5=EA=EB=E0=EC=ED=EE=E3?=
        =?windows-1251?Q?=EE_=F2=F3=F0=E0__=E4=EB=F"
Content-transfer-encoding: base64
Content-Disposition: attachment;
 
filename="=?windows-1251?Q?=EF=F0=EE=E3=F0=E0=EC=EC=E0_=F0=E5=EA=EB=E0=EC=ED=EE=E3?=
        =?windows-1251?Q?=EE_=F2=F3=F0=E0__=E4="
---
broken filename is not end with "?=". Same with Content-Type name.

=kostik





reply via email to

[Prev in Thread] Current Thread [Next in Thread]