1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/shells/bash1/files/patch-bashbug.sh
David E. O'Brien d7c478016d Also fix the symlink race vulnerability in bashbug.sh.
Obtained from:	bash-1.14.7-23.5x.src.rpm
2000-11-29 19:52:06 +00:00

12 lines
279 B
Bash

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