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

Re: [Mutt] #2935: Occasional segfault when IMAP inbox updates



#2935: Occasional segfault when IMAP inbox updates
---------------------+------------------------------------------------------
  Reporter:  skunk   |       Owner:  brendan       
      Type:  defect  |      Status:  started       
  Priority:  major   |   Milestone:  1.6           
 Component:  IMAP    |     Version:  1.5.18        
Resolution:          |    Keywords:  duplicate 2902
---------------------+------------------------------------------------------
Changes (by brendan):

  * status:  assigned => started


Comment:

 hdrs[msgcount - 1] should always be valid, and hdrs[msgcount] should never
 be -- hdrs is indexed from 0, and msgcount is the total number of headers.
 For example, if you have one message in your mailbox, hdrs[0] should be
 set, hdrs[1] should not be, and msgcount should be 1. This particular clue
 is, I'm afraid, a red herring.

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