summaryrefslogtreecommitdiff
path: root/dns/ez-ipupdate
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2004-11-11 15:46:04 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2004-11-11 15:46:04 +0000
commit9df9abd00d044d7ca13d3c265586f2bfe4fb6c87 (patch)
treebb2bb637a1f822e42d3ee5a6958f8d0dbe2317c0 /dns/ez-ipupdate
parentUpdate to 0.9.17. (diff)
Fix a format string vulnerability in ez-ipupdate.
Approved by: se@ Obtained from: Ulf Harnhammar <Ulf.Harnhammar.9485@student.uu.se>
Notes
Notes: svn path=/head/; revision=121386
Diffstat (limited to 'dns/ez-ipupdate')
-rw-r--r--dns/ez-ipupdate/Makefile2
-rw-r--r--dns/ez-ipupdate/files/patch-ez-ipupdate.c14
2 files changed, 15 insertions, 1 deletions
diff --git a/dns/ez-ipupdate/Makefile b/dns/ez-ipupdate/Makefile
index 2665221b7f04..dee462673926 100644
--- a/dns/ez-ipupdate/Makefile
+++ b/dns/ez-ipupdate/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ez-ipupdate
PORTVERSION= 3.0.11b8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= dns
MASTER_SITES= http://www.gusnet.cx:8080/proj/ez-ipupdate/dist/
diff --git a/dns/ez-ipupdate/files/patch-ez-ipupdate.c b/dns/ez-ipupdate/files/patch-ez-ipupdate.c
new file mode 100644
index 000000000000..6ba272b0ec99
--- /dev/null
+++ b/dns/ez-ipupdate/files/patch-ez-ipupdate.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- ez-ipupdate.c.orig
++++ ez-ipupdate.c
+@@ -798,7 +798,7 @@
+ sprintf(buf, "message incomplete because your OS sucks: %s\n", fmt);
+ #endif
+
+- syslog(LOG_NOTICE, buf);
++ syslog(LOG_NOTICE, "%s", buf);
+ }
+ else
+ {