summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-01-14 02:57:43 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-01-14 02:57:43 +0000
commit411aa7729278eba2f56b3a6b8875e9d65cfb20e1 (patch)
tree388c5319acf8c96d1bea271418f5ce4617857a92 /net-misc/vmpsd/files
parentMetadata update. (diff)
downloadgentoo-2-411aa7729278eba2f56b3a6b8875e9d65cfb20e1.tar.gz
gentoo-2-411aa7729278eba2f56b3a6b8875e9d65cfb20e1.tar.bz2
gentoo-2-411aa7729278eba2f56b3a6b8875e9d65cfb20e1.zip
Clean up ebuild and patch the vuln per bug #205732.
(Portage version: 2.1.4)
Diffstat (limited to 'net-misc/vmpsd/files')
-rw-r--r--net-misc/vmpsd/files/digest-vmpsd-1.3-r43
-rw-r--r--net-misc/vmpsd/files/vmpsd-1.3-format-sec.patch23
2 files changed, 26 insertions, 0 deletions
diff --git a/net-misc/vmpsd/files/digest-vmpsd-1.3-r4 b/net-misc/vmpsd/files/digest-vmpsd-1.3-r4
new file mode 100644
index 000000000000..577a1ce45315
--- /dev/null
+++ b/net-misc/vmpsd/files/digest-vmpsd-1.3-r4
@@ -0,0 +1,3 @@
+MD5 07ad86343ad715c94b9de4c54c62d3db vmpsd-1.3.tar.gz 95202
+RMD160 1185fbd654d5d0e939fdfa08149d1ebcb3fc0ef2 vmpsd-1.3.tar.gz 95202
+SHA256 6f6bd6c5d1e9fc862c27cf783bcbabef21619aa5fe7984231eb55e32e11ca142 vmpsd-1.3.tar.gz 95202
diff --git a/net-misc/vmpsd/files/vmpsd-1.3-format-sec.patch b/net-misc/vmpsd/files/vmpsd-1.3-format-sec.patch
new file mode 100644
index 000000000000..21fcd338093c
--- /dev/null
+++ b/net-misc/vmpsd/files/vmpsd-1.3-format-sec.patch
@@ -0,0 +1,23 @@
+Patch taken from http://www.freenac.net/downloads/openvmps.patch
+as mentioned at http://www.freenac.net/phpBB2/viewtopic.php?t=76
+for http://www.securityfocus.com/bid/15072/info
+--- log.c 2006-09-08 16:33:01.000000000 +0200
++++ /root/log.c 2006-10-22 16:32:11.000000000 +0200
+@@ -27,14 +27,14 @@
+ log_opened = 1;
+ }
+ vsnprintf(str, 256, fmt, ap);
+- syslog(LOG_INFO, str);
++ syslog(LOG_INFO, "%s", str);
+
+ if ( debug ) {
+- fprintf(stderr,str);
+- fprintf(stderr,"\n");
++ fprintf(stderr,"%s\n", str);
+ }
+
+ va_end(ap);
+
+ }
+ }
++