use TAILQ_FOREACH_SAFE() to avoid use after free
authorjsg <jsg@openbsd.org>
Mon, 26 Feb 2024 09:50:42 +0000 (09:50 +0000)
committerjsg <jsg@openbsd.org>
Mon, 26 Feb 2024 09:50:42 +0000 (09:50 +0000)
commitf844ef565ec2fae7c724ad789e1aaa2f6ba20409
treec2f2bd39855da065af2b050016082732620bb99a
parent006a08d99c7bf984e1680019458bb87e35aee5df
use TAILQ_FOREACH_SAFE() to avoid use after free
found by smatch, ok claudio@
usr.sbin/dvmrpd/rde.c