]> 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>
Fri, 9 May 2025 20:15:42 +0000 (22:15 +0200)
commit237e8598ca77b454bc04755f56f82d53ab25c745
treeedc501c243f37b2cdeb3083b93481599dded0eac
parent9bb8c0945e39b43dcef02934fe9cf6baa816f5b0
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