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

[Mutt] #3417: limiting query with unmatched [ causes crash



#3417: limiting query with unmatched [ causes crash
---------------------+------------------------------------------------------
 Reporter:  grobian  |       Owner:  mutt-dev
     Type:  defect   |      Status:  new     
 Priority:  major    |   Milestone:  1.6     
Component:  mutt     |     Version:  1.5.20  
 Keywords:           |  
---------------------+------------------------------------------------------
 see http://bugs.gentoo.org/show_bug.cgi?id=323613

 press l
 type [Bug
 and press enter

 A segfault (linux, osx) or a insufficient memory error (solaris) will
 occur.

 cause: changeset 05cec973f0d97065709f2ec55a42b39797995eff
 a similar fix for another case in the code was made in
 25e12863c521c6cb0e0c1f197c7e84def57b9ec8

 The attached patch fixes the crash.

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