summaryrefslogtreecommitdiff
path: root/multitech/recipes/bash/files/default_path.patch
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2014-09-29 16:03:35 -0500
committerJesse Gilles <jgilles@multitech.com>2014-09-29 16:03:35 -0500
commit5a9a1b6e0cfabaa591a63e8e637c3b03b806bd59 (patch)
tree9a6ebcac421cb8ff51064734faaad3f285788731 /multitech/recipes/bash/files/default_path.patch
parent0a7fe84926933b2f01162ec7cd3aeb8a3f97228c (diff)
bash: update to 3.2.54 -- fixes "shellshock" CVEs
CVE-2014-6271 CVE-2014-6277 CVE-2014-7169 CVE-2014-7186
Diffstat (limited to 'multitech/recipes/bash/files/default_path.patch')
-rw-r--r--multitech/recipes/bash/files/default_path.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/multitech/recipes/bash/files/default_path.patch b/multitech/recipes/bash/files/default_path.patch
new file mode 100644
index 0000000..7d87850
--- /dev/null
+++ b/multitech/recipes/bash/files/default_path.patch
@@ -0,0 +1,12 @@
+diff -Naur bash-3.0.orig/config-top.h bash-3.0/config-top.h
+--- bash-3.0.orig/config-top.h 2003-08-05 16:36:12.000000000 +0200
++++ bash-3.0/config-top.h 2007-08-29 22:30:57.059985318 +0200
+@@ -52,7 +52,7 @@
+ /* The default value of the PATH variable. */
+ #ifndef DEFAULT_PATH_VALUE
+ #define DEFAULT_PATH_VALUE \
+- "/usr/gnu/bin:/usr/local/bin:/bin:/usr/bin:."
++ "/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
+ #endif
+
+ /* The value for PATH when invoking `command -p'. This is only used when