incubator-nuttx/sched
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
..
clock sched/clock: add nsec range check in clock_settime 2021-07-09 14:19:03 -03:00
environ Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
group group/child_status: Dynamically expand group child_status 2021-07-15 20:14:57 -07:00
init Rename LIB_ to LIBC_ for all libc Kconfig 2021-08-05 19:45:24 +02:00
irq sched/*/*spinlock.c: Fix some typos. 2021-07-24 09:00:41 -07:00
module Rename MODULE_TEXT to TEXT_HEAP as the latter is more generic. 2021-06-18 07:14:17 -05:00
mqueue fs/inode: add sanity check for inode to avoid nullpointer 2021-07-25 23:01:37 -07:00
paging Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
pthread sched: Refine tls_info_s and task_info_s 2021-07-02 10:33:34 -05:00
sched sched/wdog: move SMP enter_critical_section to sched_timerexpiration.c 2021-08-27 16:59:20 +09:00
semaphore sched/*/*spinlock.c: Fix some typos. 2021-07-24 09:00:41 -07:00
signal Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
task task_spawn: release g_spawn_parmsem and sched_unlock at the ending 2021-08-19 20:43:54 -07:00
timer Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
wdog sched/wdog/wd_start.c: prevent accessing watch-dog lag if head is NULL 2021-09-06 09:29:21 -07:00
wqueue work_queue: schedule the work queue using the timer mechanism 2021-07-27 21:01:38 -07:00
Kconfig sched: Allow CONFIG_SMP_NCPUS=1 without CONFIG_DEBUG_FEATURES 2021-08-19 19:17:56 -07:00
Makefile style/Makefile: remove unnecessary trailing whitespace 2020-11-28 12:20:30 +01:00