[PATCH] ntdll: Fix converting large 32-bit time_t when time_t is signed.
22 Nov
2020
22 Nov
'20
5:42 a.m.
Found this while trying to fix something else. If time_t is treated as signed (32-bit Linux) and you have a time_t value where the high bit is set then when you convert it to 64-bit you get an improperly sign-extended value. See the included test for an example (make sure you run the 32-bit tests). Best, Erich
1849
Age (days ago)
1849
Last active (days ago)
0 comments
1 participants
participants (1)
-
Erich E. Hoover