zephyr/lib/utils
TaiJu Wu a2e97405d0 lib: check null pointer before taking lock for bitarray
In some function in bitarray.c, we should check the pointer
of bitarry before taking bitarray lock.

In this patch, we move the null-check assert before the use of
the struct to provide better validation than a crash.

Signed-off-by: TaiJu Wu <tjwu1217@gmail.com>
2024-06-14 19:18:28 +02:00
..
base64.c
bitarray.c lib: check null pointer before taking lock for bitarray 2024-06-14 19:18:28 +02:00
CMakeLists.txt
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
Kconfig
notify.c
onoff.c lib: change controlling expressions in if/while to Boolean 2024-06-11 20:03:34 +03:00
rb.c
ring_buffer.c
timeutil.c coding guidelines: comply with MISRA Rule 12.1. 2024-06-13 20:28:23 -04:00
utf8.c
winstream.c