]> git.ipfire.org Git - thirdparty/bird.git/commit
Fix use-after-free in thread group reconfiguration
authorMaria Matejka <mq@ucw.cz>
Fri, 9 May 2025 20:09:18 +0000 (22:09 +0200)
committerMaria Matejka <mq@ucw.cz>
Sat, 10 May 2025 11:20:07 +0000 (13:20 +0200)
commit147629442f7c9a988ca8e2ed264b303b0bf13067
tree24a2ca98dcc7e91b537df02e208a55ad1444c12a
parentc97fc7aaa0653fc49251b4ff713fe603d096b4cc
Fix use-after-free in thread group reconfiguration

If a thread group with no running threads is deconfigured,
it was freed before fetching the next node in the linked list.

This rare bug caused a crash in unit tests in OpenBSD.
sysdep/unix/io-loop.c