diff options
Diffstat (limited to 'x11-wm/wmfs/files/wmfs-99999999-strncat.patch')
-rw-r--r-- | x11-wm/wmfs/files/wmfs-99999999-strncat.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/x11-wm/wmfs/files/wmfs-99999999-strncat.patch b/x11-wm/wmfs/files/wmfs-99999999-strncat.patch deleted file mode 100644 index e55cd00121ba..000000000000 --- a/x11-wm/wmfs/files/wmfs-99999999-strncat.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/src/launcher.c -+++ b/src/launcher.c -@@ -366,7 +366,7 @@ - if(pos && (end = complete(&cache, tmpbuf))) - { - strncpy(buf, tmpbuf, sizeof(buf)); -- strncat(buf, end, sizeof(buf)); -+ strncat(buf, end, sizeof(buf) - 1); - found = true; - } - -@@ -387,7 +387,7 @@ - - default: - lastwastab = false; -- strncat(buf, tmp, sizeof(tmp)); -+ strncat(buf, tmp, sizeof(buf) - 1); - ++pos; - break; - } |