CVSROOT: /cvs Module name: src Changes by: [email protected] 2015/08/25 11:14:16
Modified files:
usr.sbin/syslogd: syslogd.c
Log message:
strlcpy() accesses the source string until it finds NUL, even if
it is behind the size limit. As msg is not NUL-terminated in this
case, it depended on memory content wether syslogd will crash. So
using memcpy() and setting the NUL explicitly is the correct way.
OK deraadt@
