diff options
| author | Jiaying Song <jiaying.song.cn@windriver.com> | 2025-12-10 16:04:46 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-12-10 08:56:16 -0800 |
| commit | b5685fb375d01d2a146c1707a6f290fad195826f (patch) | |
| tree | 34356382f7636157802ff28f1aacb499c0887ab6 /meta-python/recipes-devtools/python/python3-orjson_3.10.17.bb | |
| parent | ec4c278bc970113ea04487d531a8c391c690d5cb (diff) | |
| download | meta-openembedded-b5685fb375d01d2a146c1707a6f290fad195826f.tar.gz | |
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-orjson_3.10.17.bb')
0 files changed, 0 insertions, 0 deletions
