bug13476-improve-time-handling 526 B

123456789101112
  1. o Minor bugfixes:
  2. - Set the correct day of year value when the system's localtime(_r)
  3. or gmtime(_r) functions fail to set struct tm.
  4. Fixes bug 13476.
  5. - Avoid unlikely signed integer overflow in tor_timegm on systems with
  6. 32-bit time_t.
  7. Fixes bug 13476.
  8. o Minor enhancements (validation):
  9. - Check all date/time values passed to tor_timegm and parse_rfc1123_time
  10. for validity, taking leap years into account.
  11. Improves HTTP header validation.
  12. Implemented with bug 13476.