The official NGINX Open Source repository.
Go to file
Maxim Dounin b900cc28fc Introduced time truncation to December 31, 9999 (ticket #1368).
Various buffers are allocated in an assumption that there would be
no more than 4 year digits.  This might not be true on platforms
with 64-bit time_t, as 64-bit time_t is able to represent more than that.
Such dates with more than 4 year digits hardly make sense though, as
various date formats in use do not allow them anyway.

As such, all dates are now truncated by ngx_gmtime() to December 31, 9999.
This should have no effect on valid dates, though will prevent potential
buffer overflows on invalid ones.
2017-09-13 15:53:19 +03:00
auto Mirror module. 2017-07-20 08:50:49 +03:00
conf Added the REQUEST_SCHEME parameter. 2015-06-05 22:23:26 +03:00
contrib Contrib: proper syntax parsing in vim syntax highlighting. 2017-05-22 16:34:47 +03:00
docs Trailing space removed. 2017-09-11 16:41:39 +03:00
misc Updated PCRE used for win32 builds. 2017-08-08 15:21:10 +03:00
src Introduced time truncation to December 31, 9999 (ticket #1368). 2017-09-13 15:53:19 +03:00
.hgtags release-1.13.5 tag 2017-09-05 17:59:31 +03:00