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



_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to