summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/inetutils-syslogd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/patches/inetutils-syslogd.patch')
-rw-r--r--gnu/packages/patches/inetutils-syslogd.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/gnu/packages/patches/inetutils-syslogd.patch b/gnu/packages/patches/inetutils-syslogd.patch
deleted file mode 100644
index 0bf9eb7fc60..00000000000
--- a/gnu/packages/patches/inetutils-syslogd.patch
+++ /dev/null
@@ -1,20 +0,0 @@
1From <http://lists.gnu.org/archive/html/bug-inetutils/2015-04/msg00001.html>.
2
32015-04-01 Ludovic Courtès <ludo@gnu.org>
4
5 * src/syslogd.c (load_conffile): Use 'bcopy' instead of 'strcpy'
6 since the two regions may overlap.
7 Reported by Alex Kost <alezost@gmail.com>
8 at <http://lists.gnu.org/archive/html/guix-devel/2015-03/msg00780.html>.
9
10--- a/src/syslogd.c
11+++ b/src/syslogd.c
12@@ -1989,7 +1989,7 @@ load_conffile (const char *filename, struct filed **nextp)
13 if (*p == '\0' || *p == '#')
14 continue;
15
16- strcpy (cline, p);
17+ bcopy (p, cline, strlen (p) + 1);
18
19 /* Cut the trailing spaces. */
20 for (p = strchr (cline, '\0'); isspace (*--p);)