You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/log4sh/files/log4sh-1.2.5-fix-insecure-t...

12 lines
324 B

--- src/shell/log4sh.orig 2005-06-20 13:35:51.583341280 +0100
+++ src/shell/log4sh 2005-06-20 13:37:45.120081072 +0100
@@ -357,7 +357,7 @@
{
_file=$1
- _tmpFile="/tmp/log4sh.$$"
+ _tmpFile=`mktemp /tmp/log4sh.XXXXXX`
grep "^log4sh\." $_file >$_tmpFile
_rp_count=`wc -l $_tmpFile |awk '{print $1}'`
_rp_i=1