OpenWrt/LEDE Project

Welcome to the OpenWrt/LEDE Project bug reporting and issue tracking system

Problems to be reported here are for the OpenWrt/LEDE Project targets, sources, toolchain, core packages, build procedures, distribution and infrastructure. Guidelines for submitting a good bug report can be found at the OpenWrt/LEDE Project website. Problems related to LuCI or OpenWrt packages need to be reported in their repositories:

Notifications of all submissions and task changes are sent to lede-bugs@infradead.org.

OpenedIDCategoryTask Type  ascPrioritySeveritySummaryReported InStatus
25.06.20203202PackagesBug ReportVery LowLowlibnl_tiny: struct np_sock may be affected by Y2038 Pro...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
- 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.

Showing tasks 1 - 1 of 1 Page 1 of 1

Available keyboard shortcuts

Tasklist

Task Details

Task Editing