From 5220c05b2e6f4a1a20b8a12f192b95c7b74434d0 Mon Sep 17 00:00:00 2001 From: Sven Wegener Date: Thu, 8 Sep 2005 13:31:27 +0000 Subject: Revision bump, security bug #94587. Package-Manager: portage-2.0.51.22-r2 --- net-im/silc-server/files/1.0-tempfile-vuln.patch | 17 +++++++++++++++++ net-im/silc-server/files/digest-silc-server-1.0 | 1 - net-im/silc-server/files/digest-silc-server-1.0-r1 | 1 + 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 net-im/silc-server/files/1.0-tempfile-vuln.patch delete mode 100644 net-im/silc-server/files/digest-silc-server-1.0 create mode 100644 net-im/silc-server/files/digest-silc-server-1.0-r1 (limited to 'net-im/silc-server/files') diff --git a/net-im/silc-server/files/1.0-tempfile-vuln.patch b/net-im/silc-server/files/1.0-tempfile-vuln.patch new file mode 100644 index 000000000000..46acb32c4404 --- /dev/null +++ b/net-im/silc-server/files/1.0-tempfile-vuln.patch @@ -0,0 +1,17 @@ +--- apps/silcd/silcd.c.orig 2004-02-27 15:29:51.000000000 +0000 ++++ apps/silcd/silcd.c 2005-06-20 13:49:34.511237224 +0100 +@@ -260,11 +260,13 @@ + SILC_TASK_CALLBACK(dump_stats) + { + FILE *fdd; ++ int fdes; + char filename[256]; + + memset(filename, 0, sizeof(filename)); + snprintf(filename, sizeof(filename) - 1, "/tmp/silcd.%d.stats", getpid()); +- fdd = fopen(filename, "w+"); ++ fdes = open (filename, O_CREAT|O_EXCL|O_WRONLY, S_IRUSR|S_IWUSR); ++ fdd = fdopen(fdes, "w"); + if (!fdd) + return; + diff --git a/net-im/silc-server/files/digest-silc-server-1.0 b/net-im/silc-server/files/digest-silc-server-1.0 deleted file mode 100644 index 164ebf8878e0..000000000000 --- a/net-im/silc-server/files/digest-silc-server-1.0 +++ /dev/null @@ -1 +0,0 @@ -MD5 f292fe97f3a25b76182e1c808f1c2d0d silc-server-1.0.tar.bz2 969309 diff --git a/net-im/silc-server/files/digest-silc-server-1.0-r1 b/net-im/silc-server/files/digest-silc-server-1.0-r1 new file mode 100644 index 000000000000..164ebf8878e0 --- /dev/null +++ b/net-im/silc-server/files/digest-silc-server-1.0-r1 @@ -0,0 +1 @@ +MD5 f292fe97f3a25b76182e1c808f1c2d0d silc-server-1.0.tar.bz2 969309 -- cgit v1.2.3-65-gdbad