You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Software versions of OpenWrt/LEDE release, packages, etc.
Steps to reproduce
libnl_tiny stores time() value to sk->s_seq_expect and sk->s_seq_next (struct np_sock sk) in socket.c.
Struct members s_seq_expect and s_seq_next are both unsigned integer values, which I believe is to
overcome Y2038 Problem. Looking at git blame, this particular design choice has been made over 10 years ago.
Since many libraries and OS including gLibc and linux have already redefined time_t to signed 64 bit,
I think it is safe to redefine the members to uint64_t.
The text was updated successfully, but these errors were encountered:
quasi-mod:
Supply the following if possible:
libnl_tiny stores time() value to sk->s_seq_expect and sk->s_seq_next (struct np_sock sk) in socket.c.
Struct members s_seq_expect and s_seq_next are both unsigned integer values, which I believe is to
overcome Y2038 Problem. Looking at git blame, this particular design choice has been made over 10 years ago.
Since many libraries and OS including gLibc and linux have already redefined time_t to signed 64 bit,
I think it is safe to redefine the members to uint64_t.
The text was updated successfully, but these errors were encountered: