bug-mailutils
[Top][All Lists]
Advanced

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

Re: [bug-mailutils] Re: How get_attachment_name from multiline Content-


From: Kostik
Subject: Re: [bug-mailutils] Re: How get_attachment_name from multiline Content-Disposition?
Date: Thu, 08 Apr 2010 13:47:04 +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

Sergey Poznyakoff wrote:
>> Sergey, mu_message_aget_decoded_attachment_name() works well, but
>> "segmentation fault" for filename*0*, filename*1*,... from my previous
>> examples.
> 
> I cannot reproduce that.  Please give some more info on how to do
> so.

segfault.zip attached.

./mailutils/examples/mimetest -p segfault.msg

---
Program received signal SIGSEGV, Segmentation fault.
0xb7b0b916 in malloc_consolidate () from /lib/libc.so.6
(gdb) bt
#0  0xb7b0b916 in malloc_consolidate () from /lib/libc.so.6
#1  0xb7b0d9da in _int_malloc () from /lib/libc.so.6
#2  0xb7b0f7cd in malloc () from /lib/libc.so.6
#3  0xb7f675b5 in _attachment_setup (info=0xbfa64924, msg=<value optimized
out>, stream=<value optimized out>, data=0x0) at attachment.c:163
#4  0xb7f67b42 in mu_message_save_attachment (msg=0x81651f8, filename=0x0,
data=0x0) at attachment.c:204
#5  0x080498cd in message_display_parts (msg=0x8164c68, indent=0) at
mimetest.c:256
#6  0x08049dd2 in main (argc=3, argv=Cannot access memory at address 0x36
) at mimetest.c:130
---

=kostik

Attachment: segfault.zip
Description: Zip archive


reply via email to

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