]> git.ipfire.org Git - thirdparty/chrony.git/commit
sched: reset timer queue in finalization
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 19 Jun 2023 14:10:45 +0000 (16:10 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 19 Jun 2023 14:15:07 +0000 (16:15 +0200)
commit6661a614864940611f36b41be39400e0d1ef506b
treefc01bd9ed92114e26a1e3dba26311cd09427300a
parentbc7629175025ed1c7cf6458a0cdc79c67d9247fe
sched: reset timer queue in finalization

Don't leave dangling pointers to timer queue entries when they are
freed in the scheduler finalization in case some code tried to remove
a timer later.

Fixes: 6ea1082a72d8 ("sched: free timer blocks on exit")
sched.c