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
commit153ba8b8b077e455409472c85677e47c3a3b666e (patch)
tree6b4d72264d5759e8af9d3ee871f0db2cde424347 /dev-libs/log4sh/files
parentAdded missing metadata.xml, assigned to desktop-dock herd. (diff)
downloadgentoo-2-153ba8b8b077e455409472c85677e47c3a3b666e.tar.gz
gentoo-2-153ba8b8b077e455409472c85677e47c3a3b666e.tar.bz2
gentoo-2-153ba8b8b077e455409472c85677e47c3a3b666e.zip
Revision bump for security bug 94069; thanks to taviso for the patch.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-libs/log4sh/files')
-rw-r--r--dev-libs/log4sh/files/digest-log4sh-1.2.5-r1 (renamed from dev-libs/log4sh/files/digest-log4sh-1.2.5)0
-rw-r--r--dev-libs/log4sh/files/log4sh-1.2.5-fix-insecure-tmp-creation.diff11
2 files changed, 11 insertions, 0 deletions
diff --git a/dev-libs/log4sh/files/digest-log4sh-1.2.5 b/dev-libs/log4sh/files/digest-log4sh-1.2.5-r1
index 04a7378be220..04a7378be220 100644
--- a/dev-libs/log4sh/files/digest-log4sh-1.2.5
+++ b/dev-libs/log4sh/files/digest-log4sh-1.2.5-r1
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