commit | 9867ac2a405ba6b8b7db3c7e28885377393fe941 | [log] [tgz] |
---|---|---|
author | Maksim Masalski <maksim.masalski@intel.com> | Wed May 26 15:01:39 2021 +0800 |
committer | Kumar Gala <kumar.gala@gmail.com> | Thu May 27 09:07:57 2021 -0500 |
tree | f1622338f88aa463e5f4dd22eabca565fcb79dad | |
parent | 9b7d9d43b84089ccabba5aebeff12833499fc5c2 [diff] |
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>