nuttx/sched
hujun5 92bbe4f6ac sched/tls: fix uninitialized argv pointer in task info
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>
2026-01-15 16:10:11 -03:00
..
addrenv sem_waitirq: Use kmap interface to access the semaphore 2024-12-18 08:57:01 +08:00
clock sched/clock: [bugfix] should return -EINVAL when clock_id is invalid 2025-12-30 10:22:09 -03:00
environ sched/env_putenv:putenv is kernel function need use kmm_free 2025-12-18 21:59:31 +08:00
event sched/event: Fix uninitialized need_switch flag issue in event_post() 2025-11-04 21:43:59 +08:00
group sched:use tcb inside of pthread_tcb_s, remove all cast 2025-12-22 17:55:45 +08:00
hrtimer sched/hrtimer: Add callback pointer in hrtimer_start. 2026-01-13 21:41:35 +08:00
init sched:use tcb_s inside of task_tcb_s , remove all cast 2025-12-22 17:55:45 +08:00
instrument gprof: move gprof function from sched to libbuiltin/libgcc 2024-11-13 02:42:31 +08:00
irq sched/irq: add stack size judgment when detecting stack overflow 2025-10-14 17:42:01 +08:00
misc arch/tricore: upcsa/lowcsa process && dumpinfo 2026-01-15 16:09:13 -03:00
module libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00
mqueue sched: After nxsched_add_readytorun, change first parameter to up_switch_context to this_task() 2025-08-20 10:16:43 +08:00
paging sched/sleep: replace all Signal-based sleep implement to Scheduled sleep 2025-10-17 14:05:02 +08:00
pthread sched:use tcb inside of pthread_tcb_s, remove all cast 2025-12-22 17:55:45 +08:00
sched sched/tls: fix uninitialized argv pointer in task info 2026-01-15 16:10:11 -03:00
semaphore sched/sem_rw.c: Add downgrade_write API for sem_rw 2026-01-07 22:47:09 +08:00
signal signal: add default sigaction for SIGURG 2026-01-13 13:56:39 -08:00
task sched/tls: fix uninitialized argv pointer in task info 2026-01-15 16:10:11 -03:00
timer sched/wdog: Replace periodcial timer with the wd_start_next. 2025-06-10 11:02:45 -03:00
tls sched/tls: fix uninitialized argv pointer in task info 2026-01-15 16:10:11 -03:00
wdog sched/wdog: Simplify the wdog expiration handling. 2026-01-10 17:30:25 +08:00
wqueue sched/wqueue: Replace spinlock/sched_lock with spin_lock_irqsave_nopreempt 2025-10-31 15:02:56 +08:00
CMakeLists.txt sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
Kconfig sched/hrtimer: fix Kconfig typo 2026-01-15 12:25:54 +01:00
Makefile sched/hrtimer: Fix hrtimer compilation. 2026-01-08 22:26:11 +08:00