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

Re: [Mutt] #3288: seg fault in mx_update_context



#3288: seg fault in mx_update_context
--------------------+-------------------------------------------------------
 Reporter:  prlw1   |       Owner:  brendan 
     Type:  defect  |      Status:  accepted
 Priority:  major   |   Milestone:          
Component:  IMAP    |     Version:  1.5.20  
 Keywords:  patch   |  
--------------------+-------------------------------------------------------

Comment(by prlw1):

 Ah:


 {{{
 [2010-01-05 16:12:40] Fetching message headers... 0/235043 (0%)
 [2010-01-05 16:12:40] 4> a0005 FETCH 1:235043 (UID FLAGS INTERNALDATE
 RFC822.SIZ
 E BODY.PEEK[HEADER.FIELDS (DATE FROM SUBJECT TO CC MESSAGE-ID REFERENCES
 CONTENT
 -TYPE CONTENT-DESCRIPTION IN-REPLY-TO REPLY-TO LINES LIST-POST
 X-LABEL)])^M
 }}}
 ...

 {{{
 [2010-01-05 16:26:32] 4< * 234938 FETCH (FLAGS () UID 735278 INTERNALDATE
 " 2-Ja
 n-2010 16:16:37 +0000" RFC822.SIZE 9007 BODY[HEADER.FIELDS (DATE FROM
 SUBJECT TO
  CC MESSAGE-ID REFERENCES CONTENT-TYPE CONTENT-DESCRIPTION IN-REPLY-TO
 REPLY-TO
 LINES LIST-POST X-LABEL)] {534}
 [2010-01-05 16:26:32] imap_read_literal: reading 534 bytes
 [2010-01-05 16:26:32] 4< )
 [2010-01-05 16:26:32] parse_parameters: `charset="utf-8"'
 [2010-01-05 16:26:32] parse_parameter: `charset' = `utf-8'
 [2010-01-05 16:26:32] 4< * 234939 FETCH (FLAGS () UID 735279 INTERNALDATE
 " 2-Ja
 n-2010 16:16:39 +0000" RFC822.SIZE 7564 BODY[HEADER.FIELDS (DATE FROM
 SUBJECT TO
  CC MESSAGE-ID REFERENCES CONTENT-TYPE CONTENT-DESCRIPTION IN-REPLY-TO
 REPLY-TO
 LINES LIST-POST X-LABEL)] NIL)
 [2010-01-05 16:26:32] msg_fetch_header: ignoring fetch response with no
 body
 }}}

 So is 234939 msgno 234938? At least "ignoring fetch response with no body"
 explains why the header is NULL.


 {{{
 [2010-01-05 16:26:32] 4< a0005 OK Completed (204.500 sec)
 }}}
 so it wasn't an imap connection problem.

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