syslogd dumps core on amd64 cuurent

From: Manfred Antar <null_at_pozo.com>
Date: Sat, 26 Nov 2016 19:22:12 -0800
Todays change to syslogd.c causes it to dump core on starting:

(syslogd)5014}/etc/rc.d/syslogd stop
Stopping syslogd.
Waiting for PIDS: 731.
(syslogd)5015}make install
install  -s -o root -g wheel -m 555   syslogd /usr/sbin/syslogd
install  -o root -g wheel -m 444 syslog.conf.5.gz  /usr/share/man/man5/
install  -o root -g wheel -m 444 syslogd.8.gz  /usr/share/man/man8/
(syslogd)5016}/etc/rc.d/syslogd start
Starting syslogd.
syslogd: child pid 21052 exited on signal 4 (core dumped)
/etc/rc.d/syslogd: WARNING: failed to start syslogd
(syslogd)5017}

the change was to the file syslogd.c :

--- syslogd.c	2016-11-26 19:14:55.086134000 -0800
+++ syslogd.c.new	2016-11-26 07:58:53.382705000 -0800
_at__at_ -1835,6 +1835,7 _at__at_
 		free((char *)f);
 	}
 	Files = NULL;
+	*nextp = NULL;
 
 	/* open the configuration file */
 	if ((cf = fopen(ConfFile, "r")) == NULL) {
Received on Sun Nov 27 2016 - 02:31:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:08 UTC