Also fix the symlink race vulnerability in bashbug.sh.

Obtained from:	bash-1.14.7-23.5x.src.rpm
This commit is contained in:
David E. O'Brien 2000-11-29 19:52:06 +00:00
parent f1a492cf44
commit d7c478016d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35516

View file

@ -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}