From . 2015-04-01 Ludovic Courtès * src/syslogd.c (load_conffile): Use 'bcopy' instead of 'strcpy' since the two regions may overlap. Reported by Alex Kost at . --- a/src/syslogd.c +++ b/src/syslogd.c @@ -1989,7 +1989,7 @@ load_conffile (const char *filename, struct filed **nextp) if (*p == '\0' || *p == '#') continue; - strcpy (cline, p); + bcopy (p, cline, strlen (p) + 1); /* Cut the trailing spaces. */ for (p = strchr (cline, '\0'); isspace (*--p);)