Bug 816044

Summary: NULL pointer dereference while checking PGP signature notation
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: muttAssignee: Honza Horak <hhorak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: hhorak, mlichvar, pertusus
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://dev.mutt.org/trac/ticket/3574
Whiteboard:
Fixed In Version: mutt-1.5.21-11.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-04 22:57:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Pisar 2012-04-25 06:53:05 UTC
There is an upstream report that while verifying PGP signature using crypt_use_gpgme=true, one can get segfault if the signature specifies policy URL. In that case gpgme returns NULL signature notation name and mutt passes the NULL to strcmp() which leads to segfault. See <http://dev.mutt.org/trac/ticket/3574> for more details, especially for a reproducer and a proposed fix.

Reproduced with mutt-1.5.21-10.fc17.x86_64 gpgme-1.3.0-8.fc17.x86_64 successfully.

Comment 1 Honza Horak 2012-04-25 08:37:26 UTC
Thanks for the report. Just summarizing steps to reproduce:
1. download archive madduck.tar.gz from [1] and extract it to /tmp/madduck
2. run echo "set crypt_use_gpgme=yes">/tmp/muttrc
3. mutt -f /tmp/madduck -F /tmp/muttrc
4. open the only one message in the mailbox

[1] http://dev.mutt.org/trac/ticket/3574

Comment 2 Fedora Update System 2012-04-25 08:46:18 UTC
mutt-1.5.21-11.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/mutt-1.5.21-11.fc17

Comment 3 Fedora Update System 2012-04-26 19:26:39 UTC
Package mutt-1.5.21-11.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mutt-1.5.21-11.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-6654/mutt-1.5.21-11.fc17
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-05-04 22:57:25 UTC
mutt-1.5.21-11.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.