incubator-nuttx/sched/wdog
Michal Lenc cdfe7b5a54 sched/wdog/wd_start.c: prevent accessing watch-dog lag if head is NULL
If statement in line 103 could acces wdactivelist.head->lag when head was
NULL which could result in hard fault. The statement was also redundant
as the same condition is checked in the while loop below. This change
remove the if statement to prevent hard fault to occur.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-09-06 09:29:21 -07:00
..
Make.defs
wd_cancel.c sched/wdog: Remove flags field from wdog_s to save memory 2021-07-01 19:27:10 -03:00
wd_gettime.c
wd_initialize.c
wd_recover.c
wd_start.c sched/wdog/wd_start.c: prevent accessing watch-dog lag if head is NULL 2021-09-06 09:29:21 -07:00
wdog.h sched/wdog: fix switch_context caused error in wd_start() 2021-08-27 16:59:20 +09:00