Re: [Mutt] #3873: mutt crashes when opportunistic encryption is used with gpgme and addresses with '+'

2016-09-20 Thread Mutt
#3873: mutt crashes when opportunistic encryption is used with gpgme and 
addresses
with '+'
+--
  Reporter:  antonio@…  |  Owner:  mutt-dev
  Type:  defect | Status:  closed
  Priority:  major  |  Milestone:
 Component:  crypto |Version:  1.7.0
Resolution:  fixed  |   Keywords:
+--
Changes (by Antonio Radici ):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"8ed0170798002413b04bacdbf4148d9bc7761af7"
 6791:8ed017079800]:
 {{{
 #!CommitTicketReference repository=""
 revision="8ed0170798002413b04bacdbf4148d9bc7761af7"
 Fix gpgme segfault when querying candidates with a '+' in the address.
 (closes #3873)

 list_to_pattern() was not allocating enough space for the '+' to '%2B'
 transformation.
 }}}

--
Ticket URL: 
Mutt 
The Mutt mail user agent



Re: [Mutt] #3873: mutt crashes when opportunistic encryption is used with gpgme and addresses with '+'

2016-09-19 Thread Mutt
#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
Resolution: |   Keywords:
+--

Comment (by kevin8t8):

 Thanks Antonio.  I'll take a closer look at this tomorrow.

 After taking a quick look, the first hunk of the patch looks good, but I
 don't see why you need the second hunk of the patch.  n will be greater
 than 0, so safe_calloc() will either allocate memory or mutt will exit.

--
Ticket URL: 
Mutt 
The Mutt mail user agent



Re: [Mutt] #3873: mutt crashes when opportunistic encryption is used with gpgme and addresses with '+'

2016-09-13 Thread Mutt
#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
Resolution: |   Keywords:
+--
Changes (by antonio@…):

 * Attachment "827189-opportunistic-encryption-crash.patch" added.


--
Ticket URL: 
Mutt 
The Mutt mail user agent