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 lib/posix/fs: Add fs_dir_t type variable initialization 2021-02-05 07:32:20 -05:00
mqueue.c
nanosleep.c
pthread.c posix: pthread_exit: check for null before dereferencing 2021-05-27 09:07:57 -05:00
pthread_barrier.c
pthread_common.c
pthread_cond.c
pthread_key.c
pthread_mutex.c kernel: fix race conditions with z_ready_thread 2021-03-03 13:54:47 -05:00
pthread_rwlock.c
pthread_sched.c
semaphore.c
sleep.c
timer.c posix: timer: match implementation to declaration 2021-03-29 07:52:42 -04:00