aboutsummaryrefslogtreecommitdiffstats
path: root/shells
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-11-30 03:52:06 +0800
committerobrien <obrien@FreeBSD.org>2000-11-30 03:52:06 +0800
commit3cf2b41f50fb066afba8867619e7f6009dc63d35 (patch)
tree3ced6d31ab92ee1a58fd11e6de96e159d0f4b420 /shells
parente1260d76c24ec5f68fb1dad74bfac7bc3d03f0f7 (diff)
downloadfreebsd-ports-gnome-3cf2b41f50fb066afba8867619e7f6009dc63d35.tar.gz
freebsd-ports-gnome-3cf2b41f50fb066afba8867619e7f6009dc63d35.tar.zst
freebsd-ports-gnome-3cf2b41f50fb066afba8867619e7f6009dc63d35.zip
Also fix the symlink race vulnerability in bashbug.sh.
Obtained from: bash-1.14.7-23.5x.src.rpm
Diffstat (limited to 'shells')
-rw-r--r--shells/bash1/files/patch-bashbug.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/shells/bash1/files/patch-bashbug.sh b/shells/bash1/files/patch-bashbug.sh
new file mode 100644
index 000000000000..b2ab8f36e4d1
--- /dev/null
+++ b/shells/bash1/files/patch-bashbug.sh
@@ -0,0 +1,11 @@
+--- support/bashbug.sh.race Thu Aug 27 17:21:28 1998
++++ support/bashbug.sh Thu Aug 27 17:23:40 1998
+@@ -15,7 +15,7 @@
+ PATH=/bin:/usr/bin:usr/local/bin:$PATH
+ export PATH
+
+-TEMP=/tmp/bashbug.$$
++TEMP=`/bin/mktemp /tmp/bashbug.XXXXXX`
+
+ BUGADDR=${1-bug-bash@prep.ai.mit.edu}
+