#3798: Unexpected inbox sorting order
--------------------------+----------------------
  Reporter:  mikejsavage  |      Owner:  mutt-dev
      Type:  defect       |     Status:  closed
  Priority:  trivial      |  Milestone:
 Component:  mutt         |    Version:
Resolution:  fixed        |   Keywords:
--------------------------+----------------------

Comment (by Kevin McCarthy <kevin@…>):

 In [changeset:"586dad383893f90420c20e9b0347786274a6d0fc"
 6800:586dad383893]:
 {{{
 #!CommitTicketReference repository=""
 revision="586dad383893f90420c20e9b0347786274a6d0fc"
 Reset invalid parsed received dates to 0.  (closes #3878)

 The actual problem in the ticket would be solved by d3f31cf9239e (see
 #3798).  However there is still the bug that Mutt considers a
 (hdr->received != 0) to be set and usable, despite not checking the
 return value of mutt_parse_date().

 Change mutt_read_rfc822_header() to unset an invalid received value
 back to 0.  We don't do this inside mutt_read_rfc822_line() because
 that would cause the next received line to be parsed.
 }}}

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

Reply via email to