Bug 816044 - NULL pointer dereference while checking PGP signature notation
Summary: NULL pointer dereference while checking PGP signature notation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mutt
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Honza Horak
QA Contact: Fedora Extras Quality Assurance
URL: http://dev.mutt.org/trac/ticket/3574
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-25 06:53 UTC by Petr Pisar
Modified: 2012-05-04 22:57 UTC (History)
3 users (show)

Fixed In Version: mutt-1.5.21-11.fc17
Clone Of:
Environment:
Last Closed: 2012-05-04 22:57:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.