summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-11-29 19:52:06 +0000
committerobrien <obrien@FreeBSD.org>2000-11-29 19:52:06 +0000
commit3cf2b41f50fb066afba8867619e7f6009dc63d35 (patch)
tree3ced6d31ab92ee1a58fd11e6de96e159d0f4b420
parente1260d76c24ec5f68fb1dad74bfac7bc3d03f0f7 (diff)
downloadFreeBSD-ports-3cf2b41f50fb066afba8867619e7f6009dc63d35.zip
FreeBSD-ports-3cf2b41f50fb066afba8867619e7f6009dc63d35.tar.gz
Also fix the symlink race vulnerability in bashbug.sh.
Obtained from: bash-1.14.7-23.5x.src.rpm
-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 0000000..b2ab8f3
--- /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}
+
OpenPOWER on IntegriCloud