summaryrefslogtreecommitdiffstats
path: root/dns/ez-ipupdate
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2004-11-11 15:46:04 +0000
committernaddy <naddy@FreeBSD.org>2004-11-11 15:46:04 +0000
commit1c1c26d11ff8388704d6c432304f7c102b6a1730 (patch)
treeae5f212c735278d77b617bcc9fc3d886b5d9a592 /dns/ez-ipupdate
parent330aea05dc7b28b4b86d9548a112c220925d3568 (diff)
downloadFreeBSD-ports-1c1c26d11ff8388704d6c432304f7c102b6a1730.zip
FreeBSD-ports-1c1c26d11ff8388704d6c432304f7c102b6a1730.tar.gz
Fix a format string vulnerability in ez-ipupdate.
Approved by: se@ Obtained from: Ulf Harnhammar <Ulf.Harnhammar.9485@student.uu.se>
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 2665221..dee4626 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 0000000..6ba272b
--- /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
+ {
OpenPOWER on IntegriCloud