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> |
||
|---|---|---|
| .. | ||
| clock.c | ||
| CMakeLists.txt | ||
| eventfd.c | ||
| fs.c | ||
| Kconfig | ||
| mqueue.c | ||
| nanosleep.c | ||
| pthread_barrier.c | ||
| pthread_common.c | ||
| pthread_cond.c | ||
| pthread_key.c | ||
| pthread_mutex.c | ||
| pthread_rwlock.c | ||
| pthread_sched.c | ||
| pthread.c | ||
| semaphore.c | ||
| sleep.c | ||
| timer.c | ||