#3609: Crash (segmentation fault) in mutt_substrdup when viewing a message with 
an
empty "Cc: "
-----------------------+----------------------------------------------------
  Reporter:  vinc17    |       Owner:  mutt-dev
      Type:  defect    |      Status:  closed  
  Priority:  critical  |   Milestone:          
 Component:  mutt      |     Version:          
Resolution:  fixed     |    Keywords:          
-----------------------+----------------------------------------------------
Changes (by Michael Elkins <me@…>):

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


Comment:

 (In [897dcc62e4aa]) fix problem where mutt_substrdup() was called with the
 start
 pointer > end pointer, as a result of using SKIPWS().  This
 occurred because the header field had an empty body, so the
 trailing newline was skipped over.  The fix is to just skip over
 ascii space and htab.

 closes #3609

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

Reply via email to