CVSROOT: /cvs Module name: src Changes by: [email protected] 2015/08/27 11:53:35
Modified files:
usr.sbin/syslogd: syslogd.c
Log message:
When syslogd is reloading a modified config, it does a reexec on
itself. For this it uses the original arguments of main(). The
function loghost_parse() modifies the optarg memory it is operating
on. To prevent that the exec arguments have been tampered, pass a
copy of optarg to loghost_parse().
OK deraadt@
