zephyr/lib
Emil Gydesen 4cf00a6125 zephyr: Add zero-len check for utf8_trunc
The function did not check if the provided string had a zero
length before starting to truncate, which meant that last_byte_p
could possible have pointed to the value before the string.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-06-27 08:48:31 -04:00
..
acpi lib: acpi: update shell and test app with the modifed resource struct 2024-02-15 12:28:55 +01:00
cpp lib c/cpp: Move .ctor .init_array handling from C++ to kernel 2024-06-25 19:14:37 -04:00
crc lib: avoided increments/decrements with side effects 2024-06-21 08:48:15 -04:00
hash lib: hash: use new c++ Kconfig symbols 2023-07-26 14:53:51 +02:00
heap lib: added blanks between operators 2024-06-13 20:28:23 -04:00
libc libc: common: Fix init hang issue 2024-06-26 13:07:02 -04:00
mem_blocks lib: mem_block: move to own folder 2023-12-13 17:27:54 -05:00
open-amp driver: ram_console: leave one byte from the defined buffer size 2024-06-12 17:09:24 -05:00
os fdtable: replace z_ prefix with zvfs_ for fdtable.h functions 2024-06-26 12:33:02 +02:00
posix posix: allow for external implementation of option groups 2024-06-26 13:08:21 -04:00
runtime llvm: Add support for selecting runtime library 2023-08-03 19:35:11 +02:00
smf Lib: SMF: fix stuck handled bit when transitioning 2024-06-24 14:50:00 -04:00
utils zephyr: Add zero-len check for utf8_trunc 2024-06-27 08:48:31 -04:00
CMakeLists.txt lib posix: Allow building the POSIX_API library without the host libC 2023-12-28 09:58:23 -05:00
Kconfig lib: move utilities into own folder 2023-12-22 09:54:12 +01:00