diff options
author | Aaron Walker <ka0ttic@gentoo.org> | 2005-07-04 11:14:58 +0000 |
---|---|---|
committer | Aaron Walker <ka0ttic@gentoo.org> | 2005-07-04 11:14:58 +0000 |
commit | 69748dbc6b4bdd7a9ff1f893cd5b740caeec2491 (patch) | |
tree | 5a8f68b6c517ec997a7a77c53ce9638a803f9cc7 /dev-libs/log4sh/files/log4sh-1.2.5-fix-insecure-tmp-creation.diff | |
parent | Added missing metadata.xml, assigned to desktop-dock herd. (diff) | |
download | historical-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.diff | 11 |
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 |