aboutsummaryrefslogtreecommitdiff
path: root/net/isc-dhcp40-server
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>2002-05-09 01:59:27 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>2002-05-09 01:59:27 +0000
commit4bd2c0204edf283574aacb0082de546f7a81bb8e (patch)
tree1e83e793c38247ce60772c3d36766a88fb2b5052 /net/isc-dhcp40-server
parenta275fee4c9b05aa08e28aae6f0da24326f13cc2e (diff)
downloadports-4bd2c0204edf283574aacb0082de546f7a81bb8e.tar.gz
ports-4bd2c0204edf283574aacb0082de546f7a81bb8e.zip
Fix format string vulnerability as noted at:
Notes
Notes: svn path=/head/; revision=58777
Diffstat (limited to 'net/isc-dhcp40-server')
-rw-r--r--net/isc-dhcp40-server/Makefile1
-rw-r--r--net/isc-dhcp40-server/files/patch-common::print.c13
2 files changed, 14 insertions, 0 deletions
diff --git a/net/isc-dhcp40-server/Makefile b/net/isc-dhcp40-server/Makefile
index 5ec2fe97e6c5..b1fc83b85696 100644
--- a/net/isc-dhcp40-server/Makefile
+++ b/net/isc-dhcp40-server/Makefile
@@ -8,6 +8,7 @@
PORTNAME= dhcp
PORTVERSION= 3.0.1.r8
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.isc.org/isc/%SUBDIR%/ \
${US_MASTER_SITES} ${JAPAN_MASTER_SITES} \
diff --git a/net/isc-dhcp40-server/files/patch-common::print.c b/net/isc-dhcp40-server/files/patch-common::print.c
new file mode 100644
index 000000000000..0fd3101c5b32
--- /dev/null
+++ b/net/isc-dhcp40-server/files/patch-common::print.c
@@ -0,0 +1,13 @@
+--- common/print.c.orig Fri Feb 8 22:23:19 2002
++++ common/print.c Mon May 6 22:00:09 2002
+@@ -1366,8 +1366,8 @@
+ *s++ = '.';
+ *s++ = 0;
+ if (errorp)
+- log_error (obuf);
++ log_error ("%s", obuf);
+ else
+- log_info (obuf);
++ log_info ("%s", obuf);
+ }
+ #endif /* NSUPDATE */