zephyr/lib/posix
Maksim Masalski 9867ac2a40 posix: pthread_exit: check for null before dereferencing
In a primitive SYS_SLIST_FOR_EACH_NODE check for null was
after dereferencing. Place check for null of the "thread_spec_data"
before its dereferencing.

Found as a coding guideline violation (MISRA R4.1) by static
coding scanning tool.

Signed-off-by: Maksim Masalski <maksim.masalski@intel.com>
2021-05-27 09:07:57 -05:00
..
CMakeLists.txt
Kconfig
clock.c
eventfd.c
fs.c
mqueue.c
nanosleep.c
pthread.c
pthread_barrier.c
pthread_common.c
pthread_cond.c
pthread_key.c
pthread_mutex.c
pthread_rwlock.c
pthread_sched.c
semaphore.c
sleep.c
timer.c