mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Clamp (some) years supplied by the system to 1 CE
Clamp year values returned by system localtime(_r) and gmtime(_r) to year 1. This ensures tor can read any values it might write out. Fixes bug 13476.
This commit is contained in:
@@ -10,3 +10,6 @@
|
||||
for validity, taking leap years into account.
|
||||
Improves HTTP header validation.
|
||||
Implemented with bug 13476.
|
||||
- Clamp year values returned by system localtime(_r) and gmtime(_r)
|
||||
to year 1. This ensures tor can read any values it might write out.
|
||||
Fixes bug 13476.
|
||||
|
||||
Reference in New Issue
Block a user