#3990: segfault in hdr_format_str
--------------------------+----------------------
  Reporter:  josephbisch  |      Owner:  mutt-dev
      Type:  defect       |     Status:  closed
  Priority:  major        |  Milestone:
 Component:  mutt         |    Version:
Resolution:  fixed        |   Keywords:
--------------------------+----------------------

Comment (by kevin8t8):

 Interesting.  When I tested, I saw 9999 in the index.

 However, I do notice the month and day are off; I think exactly because of
 the reason you say: Mutt's algorithm and localtime()'s diverge.

 This is likely why we were getting the segv even though the input year was
 less than {{{INT_MAX}}} - the divergence at such a large year grows big
 enough that localtime() converts it back to something greater than that.

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

Reply via email to