summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2005-11-03 20:06:41 +0000
committerbouyer <bouyer@pkgsrc.org>2005-11-03 20:06:41 +0000
commitdb7b52afc97a0b8cb962ef4438bcec4d12dab717 (patch)
tree1c704360086ce3c983ccd85edd61c2ce8cd7db6b /net
parent7a3c04102969c31220f184445ff7b4ffc59d19ec (diff)
downloadpkgsrc-db7b52afc97a0b8cb962ef4438bcec4d12dab717.tar.gz
Add patch to fix a format string vulnerability in vmps_log():
http://www.security.nnov.ru/Jdocument889.html Patch from me, reviewed by Adrian Portelli Bump pkgrevision.
Diffstat (limited to 'net')
-rw-r--r--net/openvmps/Makefile3
-rw-r--r--net/openvmps/distinfo3
-rw-r--r--net/openvmps/patches/patch-ad18
3 files changed, 22 insertions, 2 deletions
diff --git a/net/openvmps/Makefile b/net/openvmps/Makefile
index 7f6c778e627..c3de8a89097 100644
--- a/net/openvmps/Makefile
+++ b/net/openvmps/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/06/06 16:07:43 bouyer Exp $
+# $NetBSD: Makefile,v 1.2 2005/11/03 20:06:41 bouyer Exp $
DISTNAME= vmpsd-1.3
PKGNAME= openvmps-1.3
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vmps/}
diff --git a/net/openvmps/distinfo b/net/openvmps/distinfo
index 24fbeb1bc78..6af53c55712 100644
--- a/net/openvmps/distinfo
+++ b/net/openvmps/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/06/06 16:07:43 bouyer Exp $
+$NetBSD: distinfo,v 1.2 2005/11/03 20:06:41 bouyer Exp $
SHA1 (vmpsd-1.3.tar.gz) = 39a8f925191690f209d9f1609321f20360810cf1
RMD160 (vmpsd-1.3.tar.gz) = 1185fbd654d5d0e939fdfa08149d1ebcb3fc0ef2
@@ -6,3 +6,4 @@ Size (vmpsd-1.3.tar.gz) = 95202 bytes
SHA1 (patch-aa) = 4bead41f3def8d179af073ac883d77d6c1301dec
SHA1 (patch-ab) = a30282863432d654669643103de3711da6d53620
SHA1 (patch-ac) = c5871b991808ca33d9ad0a7ee89ea1f1a4b0e803
+SHA1 (patch-ad) = 7fa3bf093f35264b1b10003fb3747fd736d12c5d
diff --git a/net/openvmps/patches/patch-ad b/net/openvmps/patches/patch-ad
new file mode 100644
index 00000000000..05613408aae
--- /dev/null
+++ b/net/openvmps/patches/patch-ad
@@ -0,0 +1,18 @@
+$NetBSD: patch-ad,v 1.1 2005/11/03 20:06:41 bouyer Exp $
+
+--- log.c.orig 2005-11-02 23:52:09.000000000 +0100
++++ log.c 2005-11-02 23:52:32.000000000 +0100
+@@ -27,11 +27,10 @@
+ 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);