|
From: | Shashank Kavishwar |
Subject: | [bug-mailutils] mailutils crashes while parsing a base64 encoded file. |
Date: | Wed, 23 Jun 2004 16:42:56 -0700 |
I try to save the attachment in the file attached (b64.txt) using message_save_attachment(), but I get a segmentation fault.
This is the core dump backtrace:
#0 0x40022ffb in _file_write (stream=0x805ea70, iptr=0x805e250 " |\r\n| Sat Jun 5 20:42:16 2004", ' ' <repeats 26 times>, "|", ' ' <repeats 20 times>, "|\r\n|", ' ' <repeats 35 times>, "19349", ' ' <repeats 12 times>, "|", ' ' <repeats 20 times>, "|\r\n|", ' ' <repeats 39 times>..., isize=2048, offset=259688, nbytes=0xbffff534) at file_stream.c:149 #1 0x4003efd5 in stream_write (os=0x805ea70, buf=0x805e250 " |\r\n| Sat Jun 5 20:42:16 2004", ' ' <repeats 26 times>, "|", ' ' <repeats 20 times>, "|\r\n|", ' ' <repeats 35 times>, "19349", ' ' <repeats 12 times>, "|", ' ' <repeats 20 times>, "|\r\n|", ' ' <repeats 39 times>..., count=2048, offset=259688, pnwrite=0xbffff590) at stream.c:413 #2 0x4002099d in message_save_attachment (msg=0x805cf20, filename=0x805e208 "./L0P95b.txt", data="" at attachment.c:425 #3 0x0804b410 in parse () #4 0x0804bc49 in parsemsg () #5 0x0804c4fd in main () #6 0x40069914 in __libc_start_main () from /lib/libc.so.6 |
b64.txt
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |