meta-openembedded/meta-oe/recipes-kernel/minicoredumper/files
Jiaying Song b5685fb375
minicoredumper: fix 2038 year problem in timestamp handling
The minicoredumper has multiple 2038 year problems where 'long' type
variables and strtol() function calls cause overflow on 32-bit systems
when handling timestamps after 2038-01-19.

This leads to incorrect timestamp formatting in core dump directory
names (e.g., sleep40s.20380119.031407+0000.598).

Fix by changing 'long timestamp' to 'time_t timestamp' and replacing
strtol() with strtoll() to properly handle 64-bit timestamps on
32-bit systems.

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-10 08:56:16 -08:00
..
0001-corestripper-Fix-uninitialized-warning.patch minicoredumper: Fix build with clang 2024-01-27 09:48:30 -08:00
0002-Fix-2038-year-problem-in-timestamp-handling.patch minicoredumper: fix 2038 year problem in timestamp handling 2025-12-10 08:56:16 -08:00
minicoredumper.init
minicoredumper.service
run-ptest minicoredumber: Fix ptest reporting 2023-10-04 13:10:06 -07:00