#3698: extract-keys crash
----------------------+----------------------
Reporter: muffins | Owner: kevin8t8
Type: defect | Status: closed
Priority: major | Milestone:
Component: crypto | Version: 1.5.23
Resolution: fixed | Keywords:
----------------------+----------------------
Comment (by Kevin McCarthy <kevin@…>):
In [31ce789af3df439206689e62eb9de358f0b52b13]:
{{{
#!CommitTicketReference repository=""
revision="31ce789af3df439206689e62eb9de358f0b52b13"
Fix segfault of extract-keys (^K) under gpgme. (closes #3698)
This patch is based on the patch by Ben Price, which relocated the
safe_fclose (&in) after its use by keydata in pgp_gpgme_extract_keys.
Thank you for the patch!
In addition, this patch:
* removes spurious (debug?) output when the extract keys is finished.
* adds a gpgme_data_release() call to free the keydata.
}}}
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3698#comment:10>
Mutt <http://www.mutt.org/>
The Mutt mail user agent