diff options
| author | Mark H Weaver <mhw@netris.org> | 2015-06-10 17:50:27 -0400 |
|---|---|---|
| committer | Mark H Weaver <mhw@netris.org> | 2015-06-10 17:50:27 -0400 |
| commit | 14928016556300a6763334d4279c3d117902caaf (patch) | |
| tree | d0dc262b14164b82f97dd6e896ca9e93a1fabeea /gnu/packages/patches/inetutils-syslogd.patch | |
| parent | 1511e0235525358abb52cf62abeb9457605b5093 (diff) | |
| parent | 57cd353d87d6e9e6e882327be70b4d7b5ce863ba (diff) | |
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/patches/inetutils-syslogd.patch')
| -rw-r--r-- | gnu/packages/patches/inetutils-syslogd.patch | 20 |
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 @@ | |||
| 1 | From <http://lists.gnu.org/archive/html/bug-inetutils/2015-04/msg00001.html>. | ||
| 2 | |||
| 3 | 2015-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);) | ||
