#3873: mutt crashes when opportunistic encryption is used with gpgme and
addresses
with '+'
-----------------------+----------------------
Reporter: antonio@… | Owner: mutt-dev
Type: defect | Status: new
Priority: major | Milestone:
Component: crypto | Version: 1.7.0
Keywords: |
-----------------------+----------------------
From http://bugs.debian.org/827189
To reproduce:
* create a .muttrc with `set crypt_use_gpgme` and
`set crypt_opportunistic_encrypt`
* start mutt as
`mutt 'xxxxxxxxxxxxxx
<xxxxx+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...@xxxxxxxxxxxx.xyz>'`
* (confirm creation of new mailbox)
* leave recipient as mutt suggests it
* enter a subect
* (mutt opens vim) enter a line
* mutt crashes
i've observed the behavior in 1.6.0-1, and refined it to the above
example using mutt 1.6.1-1.
The issue is in list_to_patterns() in crypt-gpgme.c, I'll attach the patch
we used in Debian as soon as the issue is created.
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3873>
Mutt <http://www.mutt.org/>
The Mutt mail user agent