[issue260] mutt crash when trying to view big s/mime mail

Bernhard Reiter <[email protected]>
Newsgroups gmane.comp.encryption.gpg.gpa.devel
Message-ID <[email protected]>
New submission from Bernhard Reiter <[email protected]>:

mutt CVS 20040916
with
patch-1.5.6cvs.g10.mdn.3
patch-1.5.6cvs.g10.gpgme.6 (wrongly reported as .4)

Got a huge mail encrypted 
when pressing "v" for view attachments I get a crash.
(See dump bt below.)

An attempt to decrypt it gives: Error: decryption failed: General error

#0  0x40153404 in write () from /lib/libc.so.6
#1  0x4008b240 in __DTOR_END__ () from /usr/local/aegypten/lib/libgpgme.so.11
#2  0x40080178 in _gpgme_io_write (fd=19, buffer=0x40089203, count=3)
    at posix-io.c:96
#3  0x40085f16 in _gpgme__assuan_simple_write (ctx=0x816b548,
    buffer=0x40089203, size=3) at assuan-io.c:35
#4  0x40082b63 in writen (ctx=0x816b548, buffer=0x40089203 "BYE", length=3)
    at assuan-buffer.c:35
#5  0x400830af in _gpgme_assuan_write_line (ctx=0x816b548,
    line=0x40089203 "BYE") at assuan-buffer.c:258
#6  0x40084cbb in _gpgme_assuan_disconnect (ctx=0x816b548)
    at assuan-connect.c:42
#7  0x40085ba3 in _gpgme_assuan_pipe_connect (ctx=0x816b4c0,
    name=0x400884ed "/usr/local/proko2//bin/gpgsm", argv=0xbfffe630,
    fd_child_list=0xbfffe620) at assuan-pipe-connect.c:266
#8  0x4007e0d7 in gpgsm_new (engine=0x80d746c, lc_ctype=0x0, lc_messages=0x0)
    at engine-gpgsm.c:399
#9  0x4007a759 in _gpgme_engine_new (proto=GPGME_PROTOCOL_CMS,
    r_engine=0x8169414, lc_ctype=0x0, lc_messages=0x0) at engine.c:187
#10 0x4007418b in _gpgme_op_reset (ctx=0x8169410, type=1) at op-support.c:79
#11 0x40074c83 in decrypt_start (ctx=0x8169410, synchronous=1,
    cipher=0x8169470, plain=0x816a498) at decrypt.c:191
#12 0x40074d49 in gpgme_op_decrypt (ctx=0x8169410, cipher=0x8169470,
    plain=0x816a498) at decrypt.c:234
#13 0x080a0f12 in decrypt_part (a=0x8135458, s=0xbfffe8fc, fpout=0x81692a0,
    is_smime=1, r_is_signed=0xbfffe8f8) at crypt-gpgme.c:1475
#14 0x080a1450 in smime_gpgme_decrypt_mime (fpin=0x8116790, fpout=0xbfffeab0,
    b=0x8135458, cur=0xbfffeab4) at crypt-gpgme.c:1666
#15 0x080a5c67 in crypt_mod_smime_decrypt_mime (a=0x8116790, b=0xbfffeab0,
    c=0x8135458, d=0xbfffeab4) at crypt-mod-smime-gpgme.c:48
#16 0x080552c6 in crypt_smime_decrypt_mime (a=0x8116790, b=0xbfffeab0,
    c=0x8135458, d=0xbfffeab4) at cryptglue.c:283
#17 0x080891fa in mutt_view_attachments (hdr=0x81353a8) at recvattach.c:923
#18 0x08062079 in mutt_index_menu () at curs_main.c:2063
#19 0x08073129 in main (argc=3, argv=0xbffff964) at main.c:911

----------
assignedto: werner
messages: 1585
nosy: bernhard, bh, werner
priority: bug
status: unread
title: mutt crash when trying to view big s/mime mail
topic: mutt
______________________________________________________
Aegypten issue tracker <[email protected]>
<https://intevation.de/roundup/aegypten/issue260>
______________________________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.