zephyr/lib/utils
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
..
CMakeLists.txt
Kconfig
base64.c
bitarray.c lib: check null pointer before taking lock for bitarray 2024-06-14 19:18:28 +02:00
dec.c
hex.c coding guidelines: comply with MISRA Rule 12.1. 2024-06-13 20:28:23 -04:00
json.c json: add JSON_TOK_ENCODED_OBJ 2024-06-12 21:15:27 -04:00
notify.c
onoff.c lib: change controlling expressions in if/while to Boolean 2024-06-11 20:03:34 +03:00
rb.c lib: avoided increments/decrements with side effects 2024-06-21 08:48:15 -04:00
ring_buffer.c
timeutil.c coding guidelines: comply with MISRA Rule 12.1. 2024-06-13 20:28:23 -04:00
utf8.c zephyr: Add zero-len check for utf8_trunc 2024-06-27 08:48:31 -04:00
winstream.c