mirror of
https://github.com/apache/nuttx.git
synced 2026-08-02 12:49:00 +00:00
The TCB initializes the pid early, but the argvstack is not initialized at that time. This may cause invalid addresses to be obtained when nxsched_get_stackargs is called during task enumeration. Initialize the argv pointer to NULL to enable safe validity checks. Signed-off-by: hujun5 <hujun5@xiaomi.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Make.defs | ||
| task_initinfo.c | ||
| task_uninitinfo.c | ||
| tls.h | ||
| tls_dupinfo.c | ||
| tls_initinfo.c | ||