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

Re: [Mutt] #3315: search-next segfaults if previous pattern was



#3315: search-next segfaults if previous pattern was invalid
---------------------+------------------------------------------------------
  Reporter:  pdmef   |       Owner:  pdmef 
      Type:  defect  |      Status:  closed
  Priority:  major   |   Milestone:  1.6   
 Component:  mutt    |     Version:        
Resolution:  fixed   |    Keywords:        
---------------------+------------------------------------------------------
Changes (by Rocco Rutte <pdmef@xxxxxxx>):

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


Comment:

 (In [6a08a5244d60]) Clear last search pattern if it's invalid. Closes
 #3315.

 We keep both, the string version and compiled version around
 for search-next; however, in case of parsing errors we dropped
 only the compiled version and not the string one making the
 code attempting to perform a search using a NULL pattern.

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