[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/55795: syslogd dies recursively
>Synopsis: syslogd dies recursively
>Arrival-Date: Sat Nov 07 22:55:00 +0000 2020
>Originator: David A. Holland
>Release: NetBSD 9.99.49 (20200310)
System: NetBSD valkyrie 9.99.49 NetBSD 9.99.49 (VALKYRIE) #0: Fri Oct 2 15:00:22 EDT 2020 dholland@valkyrie:/y/objects/usrobj-amd64/sys/arch/amd64/compile/VALKYRIE amd64
syslogd's die() (in syslogd.c) contains a recursive call to itself if
closing a udp socket fails. This is currently (-r1.135) on line 3017.
It looks like most but not all of the cleanup code is idempotent, so
if this path is ever reached it will probably SIGSEGV.
Change the close call to (void)close like the others, I guess. Anyone
have contrary opinions?
Main Index |
Thread Index |