diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-shells/sash/files/sash-3.7-builtin.patch | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-shells/sash/files/sash-3.7-builtin.patch')
-rw-r--r-- | app-shells/sash/files/sash-3.7-builtin.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app-shells/sash/files/sash-3.7-builtin.patch b/app-shells/sash/files/sash-3.7-builtin.patch new file mode 100644 index 000000000000..be943063efdf --- /dev/null +++ b/app-shells/sash/files/sash-3.7-builtin.patch @@ -0,0 +1,14 @@ +diff -Nrup sash-3.7.orig/sash.c sash-3.7/sash.c +--- sash-3.7.orig/sash.c 2004-01-14 00:08:03.000000000 -0500 ++++ sash-3.7/sash.c 2004-10-31 00:05:59.000000000 -0400 +@@ -739,6 +739,10 @@ tryBuiltIn(const char * cmd) + while (*endCmd && !isBlank(*endCmd)) + endCmd++; + ++ /* FIXME: command line will segv with -c 12000bytes -solar */ ++ if ((endCmd - cmd) >= sizeof(cmdName)) ++ return FALSE; ++ + memcpy(cmdName, cmd, endCmd - cmd); + + cmdName[endCmd - cmd] = '\0'; |