10529c7d0a
reason: 1. g_running_tasks = thread A 2. thread A exit (free thread A's tcb) -> thread B 3. thread B interrupt by irq 4. check g_running_tasks->flags -> kasan report used after free rootcause: g_running_tasks has't set completely when syscall hanppened Resolve: Use rtcb (get at ISR begining) instead Signed-off-by: ligd <liguiding1@xiaomi.com> |
||
---|---|---|
.. | ||
Make.defs | ||
irq.h | ||
irq_attach.c | ||
irq_chain.c | ||
irq_csection.c | ||
irq_dispatch.c | ||
irq_foreach.c | ||
irq_initialize.c | ||
irq_procfs.c | ||
irq_spinlock.c | ||
irq_unexpectedisr.c |