[issue236] mutt crash while decrypting PGP/MIME

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

Mutt 1.5.6i
patch-1.5.6cvs.g10.cryptmod.1
patch-1.5.6cvs.g10.gpgme.1
patch-1.5.6cvs.g10.gpgme.2

gpg-agent (GnuPG) 1.9.10-cvs (two weeks old or so)
gpg (GnuPG) 1.2.4

Trying to decrypt an OpenPGP PGP/MIME message
and mutt crashed (log attached). I could do that a couple
of times again on the same mail, but I cannot reproduce it now.
(it is an mbox where new mail come into, maybe that is a reason,
the mail itself was not marked read.)

As I had such crashed tree times now, I am glad I could at least
get a backtrace this time.
(Assining to Werner first.)

----------
assignedto: werner
files: mutt-crash-20040721.txt
messages: 1205
nosy: bernhard, jan, moritz, werner
priority: critical
status: unread
title: mutt crash while decrypting PGP/MIME
topic: mutt
______________________________________________________
Aegypten issue tracker <[email protected]>
<https://intevation.de/roundup/aegypten/issue236>
______________________________________________________

_______________________________________________
Gpa-dev mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gpa-dev
mutt-crash-20040721.txt (text/plain, 1.4 KB)
Program received signal SIGSEGV, Segmentation fault.
state_attach_puts (t=0x70796765 <Address 0x70796765 out of bounds>,
    s=0xbfffe51c) at muttlib.c:1263
1263      if (*t != '\n') state_mark_attach (s);
(gdb) bt
#0  state_attach_puts (t=0x70796765 <Address 0x70796765 out of bounds>,
    s=0xbfffe51c) at muttlib.c:1263
#1  0x080a04d3 in show_one_sig_status (ctx=0x881bf70, idx=0, s=0xbfffe51c)
    at crypt-gpgme.c:1227
#2  0x080a0ce4 in decrypt_part (a=0x881bbe0, s=0xbfffe51c, fpout=0x881be00,
    is_smime=0, r_is_signed=0xbfffe0b8) at crypt-gpgme.c:1502
#3  0x080a203a in pgp_gpgme_encrypted_handler (a=0x87a0070, s=0xbfffe51c)
    at crypt-gpgme.c:2132
#4  0x080a597c in crypt_mod_pgp_encrypted_handler (m=0x87a0070, s=0xbfffe51c)
    at crypt-mod-pgp-gpgme.c:54
#5  0x08054c2b in crypt_pgp_encrypted_handler (a=0x87a0070, s=0xbfffe51c)
    at cryptglue.c:154
#6  0x0806cef1 in mutt_body_handler (b=0x87a0070, s=0xbfffe51c)
    at handler.c:1911
#7  0x0805bef7 in _mutt_copy_message (fpout=0x881bc78, fpin=0x811a598,
    hdr=0x879ffc0, body=0x87a0070, flags=1100, chflags=150) at copy.c:599
#8  0x0805c15a in mutt_copy_message (fpout=0x881bc78, src=0x816e418,
    hdr=0x879ffc0, flags=1100, chflags=150) at copy.c:679
#9  0x08055eea in mutt_display_message (cur=0x879ffc0) at commands.c:433
#10 0x0805fa9d in mutt_index_menu () at curs_main.c:1135
#11 0x08072cbf in main (argc=1, argv=0xbffff984) at main.c:911
(gdb)
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.