zephyr/lib
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
..
acpi lib: acpi: update shell and test app with the modifed resource struct 2024-02-15 12:28:55 +01:00
cpp llvm: Add support for LLVM libc++ C++ Standard Library 2023-10-20 14:59:31 +02:00
crc lib: change controlling expressions in if/while to Boolean 2024-06-11 20:03:34 +03:00
hash
heap lib: added blanks between operators 2024-06-13 20:28:23 -04:00
libc lib: added blanks between operators 2024-06-13 20:28:23 -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 coding guidelines: comply with MISRA Rule 12.1. 2024-06-13 20:28:23 -04:00
posix coding guidelines: comply with MISRA Rule 12.1. 2024-06-13 20:28:23 -04:00
runtime
smf lib: smf: fix ctx->executing in smf_execute_all_entry_actions 2024-06-12 12:52:46 -04:00
utils lib: check null pointer before taking lock for bitarray 2024-06-14 19:18:28 +02: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