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

Comment (by vinc17):

 Replying to [comment:20 code@…]:
 > Calculating the local timezone offset is simple enough; it's just
 > gmtime(&now) - localtime(&now).

 If {{{now}}} means the current date, I don't think that would be correct
 due to DST: the timezone offset also depends on DST, which depends on the
 date. But the current implementation is also buggy as it does not taken
 DST change into account. I've reported a new bug: #3890.

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

Reply via email to