|
Date are using standard C functions in order to manipulate a 32 bit integer. |
defines
date_set_day and
date_set_hour with 32-bit integers, so if it is a signed integer, these will overflow in the year 2038. If unsigned, it would be good til 2106.
This issue was found while reviewing potential year-2038 issues in openSUSE.
neko/libs/std/date.c
Line 31 in c580c36
defines
date_set_dayanddate_set_hourwith 32-bit integers, so if it is a signed integer, these will overflow in the year 2038. If unsigned, it would be good til 2106.This issue was found while reviewing potential year-2038 issues in openSUSE.