summaryrefslogtreecommitdiff
path: root/shells/bash1
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-11-29 19:52:06 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-11-29 19:52:06 +0000
commitd7c478016d4ac6929da8bea5969892683e044fe2 (patch)
tree16074298209bf42e9f229f717c47b45802ed4352 /shells/bash1
parentFix the symlink vulnerability noted at http://www.securityfocus.com/bid/2006 (diff)
Also fix the symlink race vulnerability in bashbug.sh.
Obtained from: bash-1.14.7-23.5x.src.rpm
Notes
Notes: svn path=/head/; revision=35516
Diffstat (limited to 'shells/bash1')
-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}
+