zephyr/lib
Chris Friedt 9e5e294ea4 lib: os: clock: fix for CID 529870
Fix for CID 529870, where Coverity found an issue where `timespec.tv_sec`
is never greater than `UINT64_MAX / NSEC_PER_SEC` (18446744073).

This is naturally true when `time_t` is only 32-bit, which is actually
never the case for any Zephyr platform aside from `native_sim/native/32`.

When `time_t` is a signed 64-bit value, at some point in the future, but
maybe not in our lifetimes, `timespec.tv_sec` could exceed 18446744073,
since `INT64_MAX > UINT64_MAX / NSEC_PER_SEC`.

We should not see coverity issues errors like this in the future, once we
have a consistent `time_t` representation across all Zephyr platforms.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-07-11 08:21:46 -10:00
..
acpi
cpp
crc
hash
heap kernel: heap: Add allocation metadata to allocated_bytes 2025-07-07 10:08:58 -05:00
libc libc: arcmwdt: grant all threads access to stdio locks 2025-07-10 19:54:27 -05:00
mem_blocks
min_heap lib: min_heap: Refactor heapify_up/down functions 2025-06-26 11:58:05 -04:00
net_buf
open-amp openamp: enable address translation in CMake 2025-06-27 08:44:56 -10:00
os lib: os: clock: fix for CID 529870 2025-07-11 08:21:46 -10:00
posix posix: fix posix clock undefined type 2025-07-09 09:43:52 -05:00
runtime
smf lib: smf: fix function name typo "share_paren" 2025-07-08 13:41:59 -05:00
utils json: fix encoding of string null pointer 2025-07-11 08:15:36 -10:00
uuid
CMakeLists.txt lib: min_heap: Add min-heap data structure 2025-06-07 13:29:24 +01:00
Kconfig lib: min_heap: Add min-heap data structure 2025-06-07 13:29:24 +01:00