diff options
| author | Jiaying Song <jiaying.song.cn@windriver.com> | 2026-01-19 21:27:29 +1300 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@oss.qualcomm.com> | 2026-01-20 10:15:14 +0530 |
| commit | a1a87ebf04cfb92cad5acd4e5aed829f6642bfea (patch) | |
| tree | f52f12657ad518cb8d6dfbdf9fb86d922f39f1b9 /meta-python/recipes-devtools/python/python3-objgraph_3.6.2.bb | |
| parent | 199ca0c29d64017ee852533171bf11108aa73c21 (diff) | |
| download | meta-openembedded-a1a87ebf04cfb92cad5acd4e5aed829f6642bfea.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>
(cherry picked from commit b5685fb375d01d2a146c1707a6f290fad195826f)
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-objgraph_3.6.2.bb')
0 files changed, 0 insertions, 0 deletions
