diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2017-07-17 15:30:07 +0300 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2017-07-17 15:56:34 +0300 |
commit | 9454672842ee0fbd77b0e971fbdd3cd043166e19 (patch) | |
tree | e240cdd7240325e1295c27a1c9451408083708a3 /app-misc/empty/files | |
parent | app-arch/sharutils: marked ~x64-macos, bug #624878 (diff) | |
download | gentoo-9454672842ee0fbd77b0e971fbdd3cd043166e19.tar.gz gentoo-9454672842ee0fbd77b0e971fbdd3cd043166e19.tar.bz2 gentoo-9454672842ee0fbd77b0e971fbdd3cd043166e19.zip |
app-misc/empty: drop old
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-misc/empty/files')
-rw-r--r-- | app-misc/empty/files/overflow-fixes.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/app-misc/empty/files/overflow-fixes.patch b/app-misc/empty/files/overflow-fixes.patch deleted file mode 100644 index 96dd18024a03..000000000000 --- a/app-misc/empty/files/overflow-fixes.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- empty.c.orig 2009-07-27 18:26:42.000000000 +0100 -+++ empty.c 2011-12-22 17:17:11.037090159 +0000 -@@ -584,7 +584,7 @@ - - for (i = 1; i < argc; i++) { - strncat(buf, " ", 1); -- strncat(buf, argv[i], sizeof(buf)); -+ strncat(buf, argv[i], sizeof(buf) -1); - } - - (void)syslog(LOG_NOTICE, "forked %s", buf); -@@ -686,7 +686,7 @@ - while ((dent = readdir(dir)) != NULL) { - if (!strncmp(fmask, dent->d_name, len)) { - strncpy(fname, dent->d_name, sizeof(fname) - 1); -- fname[sizeof(buf) - 1] = '\0'; -+ fname[MAXPATHLEN - 1] = '\0'; - - strtok(fname, sep); /* empty */ - strtok(NULL, sep); /* PPID */ |