Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 543094 - =mail-client/mutt-1.5.22-r5 crashes when sending gpg encrypted mail
Summary: =mail-client/mutt-1.5.22-r5 crashes when sending gpg encrypted mail
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on: 556042
Blocks:
  Show dependency tree
 
Reported: 2015-03-12 21:54 UTC by Frank Steinmetzger
Modified: 2015-08-25 18:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch from http://permalink.gmane.org/gmane.mail.mutt.devel/21951 for mail-client/mutt-1.5.23-r5 (pgpkey.patch,409 bytes, patch)
2015-04-06 17:51 UTC, Thomas Fischer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Steinmetzger 2015-03-12 21:54:25 UTC
When sending an encrypted mail, mutt crahes when it tries to find out what key to use based on the recipient's address.

I searched for the problem and found ¹ which also contains a patch that solves the problem.
Version 1.5.22-r6 is also fixed, so it would be easiest and best to mark it stable and remove r5 from portage as soon as appropriately possible.

¹ http://permalink.gmane.org/gmane.mail.mutt.devel/21951

Cheers

Reproducible: Always

Steps to Reproduce:
Write a mail and enable ecryption. Send the mail. Mutt starts looking for a key that matches the recipient's mail address.
Actual Results:  
Mutt crashes with a segfault in
rfc822_parse_adrlist (top=top@entry=0x0, s=0x0) at rfc822.c:387
Comment 1 Uwe Scholz 2015-03-14 20:40:31 UTC
I can confirm this bug. Run into it some days ago. Updating to the currently unstable version 1.5.23-r6 fixes this problem.
Comment 2 Thomas Fischer 2015-04-06 17:50:13 UTC
I can confirm this bug, too. The patch described in the previously referred-to mail.mutt.devel posting fixes the problem in my case. This patch is included in mutt-1.5.23-r6's patch at lines 1637--1638.
For those not wanting to upgrade to mutt-1.5.23-r6 but stay with the stable mutt-mutt-1.5.23-r5, I'll attach a small patch to this bug report which shall be placed in /etc/portage/patches/mail-client/mutt/
Just re-compile mutt to make use of this patch. It'll has to be removed when 1.5.23-r6 or later becomes stable, though.
Comment 3 Thomas Fischer 2015-04-06 17:51:07 UTC
Created attachment 400706 [details, diff]
Patch from http://permalink.gmane.org/gmane.mail.mutt.devel/21951 for mail-client/mutt-1.5.23-r5
Comment 4 Fabian Groffen gentoo-dev 2015-04-06 17:53:12 UTC
There's no good reason not to run -r6 IMO, it just awaits stabilisation.
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2015-07-26 18:29:35 UTC
(In reply to Fabian Groffen from comment #4)
> There's no good reason not to run -r6 IMO, it just awaits stabilisation.

Can you create a stabilization bug?
Comment 6 Fabian Groffen gentoo-dev 2015-08-25 18:33:48 UTC
only PPC pending, considering this bug as fixed.