[tor-bugs] #13476 [Tor]: time handling - bug fixes, extra external input checks, and unit tests

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Oct 19 15:55:56 UTC 2014


#13476: time handling - bug fixes, extra external input checks, and unit tests
------------------------+--------------------------------
     Reporter:  teor    |      Owner:
         Type:  defect  |     Status:  needs_review
     Priority:  minor   |  Milestone:  Tor: 0.2.6.x-final
    Component:  Tor     |    Version:  Tor: unspecified
   Resolution:          |   Keywords:  tor-router
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------
Changes (by teor):

 * status:  new => needs_review


Comment:

 I've created a git branch for these bugs/enhancements:
 Branch: bug13476-improve-time-handling
 Repository: ​​​​https://github.com/teor2345/tor.git

 Commits:
 * Use correct day of year in correct_tm()
 * Improve date validation in HTTP headers
 * Clamp (some) years supplied by the system to 1 CE
 * Further unit test tor_timegm and parse_rfc1123_time

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13476#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list