Also fix the symlink race vulnerability in bashbug.sh.
Obtained from: bash-1.14.7-23.5x.src.rpm
This commit is contained in:
parent
f1a492cf44
commit
d7c478016d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35516
1 changed files with 11 additions and 0 deletions
11
shells/bash1/files/patch-bashbug.sh
Normal file
11
shells/bash1/files/patch-bashbug.sh
Normal 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}
|
||||
|
Loading…
Reference in a new issue