#3587: Return value of strchr is not properly handled
--------------------+-------------------------------------------------------
 Reporter:  hhorak  |       Owner:  mutt-dev
     Type:  defect  |      Status:  new     
 Priority:  major   |   Milestone:          
Component:  mutt    |     Version:          
 Keywords:          |  
--------------------+-------------------------------------------------------
 A bug originally reported in [1] has been seen when working with corrupted
 messages. I'm unfortunately unable to reproduce the failure, but I found
 that strchr return value was not properly handled when the function
 returned NULL in sendlib.c.

 I created a patch (attached) and believe it fixes the issue.

 [1]https://bugzilla.redhat.com/show_bug.cgi?id=833044

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

Reply via email to