mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Another case of possible gmtime angst.
This commit is contained in:
@@ -1065,7 +1065,10 @@ test_util_time(void *arg)
|
||||
|
||||
/* This value is out of range with 32 bit time_t, but in range for 64 bit
|
||||
* time_t */
|
||||
CAPTURE();
|
||||
format_rfc1123_time(timestr, (time_t)2150000000UL);
|
||||
CHECK_POSSIBLE_EINVAL();
|
||||
|
||||
#if SIZEOF_TIME_T == 4
|
||||
#if 0
|
||||
/* Wrapping around will have made it this. */
|
||||
|
||||
Reference in New Issue
Block a user