<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #3441: Error "Failed to parse mailto: link"



#3441: Error "Failed to parse mailto: link"
--------------------+-------------------------------------------------------
 Reporter:  vinc17  |       Owner:  mutt-dev
     Type:  defect  |      Status:  new     
 Priority:  major   |   Milestone:          
Component:  mutt    |     Version:          
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by vinc17):

 The problem seems to come from at least url_parse_mailto in url.c: it
 seems that the return value is always -1, and tmp isn't always freed. I
 think there should be a "rc = 0;" after the loop, and some "return -1;"
 should be changed to "goto out;", and in the "else", "rc = -1;" is
 useless. I may write a patch and test it.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3441#comment:1>
Mutt <http://www.mutt.org/>
The Mutt mail user agent