summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-07-04 11:14:58 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-07-04 11:14:58 +0000
commit69748dbc6b4bdd7a9ff1f893cd5b740caeec2491 (patch)
tree5a8f68b6c517ec997a7a77c53ce9638a803f9cc7 /dev-libs/log4sh/files/log4sh-1.2.5-fix-insecure-tmp-creation.diff
parentAdded missing metadata.xml, assigned to desktop-dock herd. (diff)
downloadhistorical-69748dbc6b4bdd7a9ff1f893cd5b740caeec2491.tar.gz
historical-69748dbc6b4bdd7a9ff1f893cd5b740caeec2491.tar.bz2
historical-69748dbc6b4bdd7a9ff1f893cd5b740caeec2491.zip
Revision bump for security bug 94069; thanks to taviso for the patch.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-libs/log4sh/files/log4sh-1.2.5-fix-insecure-tmp-creation.diff')
-rw-r--r--dev-libs/log4sh/files/log4sh-1.2.5-fix-insecure-tmp-creation.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-libs/log4sh/files/log4sh-1.2.5-fix-insecure-tmp-creation.diff b/dev-libs/log4sh/files/log4sh-1.2.5-fix-insecure-tmp-creation.diff
new file mode 100644
index 000000000000..533b3615b21a
--- /dev/null
+++ b/dev-libs/log4sh/files/log4sh-1.2.5-fix-insecure-tmp-creation.diff
@@ -0,0 +1,11 @@
+--- 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