#3880: integer overflow in date.c (mutt_mktime)
-----------------------+----------------------
  Reporter:  vinc17    |      Owner:  mutt-dev
      Type:  defect    |     Status:  new
  Priority:  critical  |  Milestone:
 Component:  mutt      |    Version:  1.7.0
Resolution:            |   Keywords:
-----------------------+----------------------

Comment (by vinc17):

 I would also add that an incorrectly displayed date or incorrectly sorted
 message could confuse the end user. The patch would solve the sorting
 problem. A message with a large year would still have an incorrectly
 displayed date, but at least, the computed year would still be larger than
 normal and would give a hint to the user. IMHO, this is a good compromise.

 I also wonder whether the maximum year should be forced to 9999 (or 9998
 in case timezone could have an influence) if it was larger, in order to
 avoid display issues, as the user could assume that the year fits on 4
 digits.

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

Reply via email to