blob: 0117af5f23c62a15e8ce6b10080aa22869b0d006 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- sysklogd-1.5.orig/syslogd.c
+++ sysklogd-1.5/syslogd.c
@@ -2392,7 +2392,7 @@
if (*p == '\0' || *p == '#')
continue;
#if CONT_LINE
- strcpy(cline, p);
+ memmove(cline, p, strlen(p)+1);
#endif
for (p = strchr(cline, '\0'); isspace(*--p););
#if CONT_LINE
--- sysklogd-1.5.orig/ksym_mod.c
+++ sysklogd-1.5/ksym_mod.c
@@ -189,7 +189,6 @@
else
Syslog(LOG_ERR, "Error loading kernel symbols " \
"- %s\n", strerror(errno));
- fclose(ksyms);
return(0);
}
|