From 4bd2c0204edf283574aacb0082de546f7a81bb8e Mon Sep 17 00:00:00 2001 From: "Chris D. Faulhaber" Date: Thu, 9 May 2002 01:59:27 +0000 Subject: Fix format string vulnerability as noted at: http://www.cert.org/advisories/CA-2002-12.html http://www.ngsec.com/docs/advisories/NGSEC-2002-2.txt --- net/isc-dhcp3/files/patch-common::print.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 net/isc-dhcp3/files/patch-common::print.c (limited to 'net/isc-dhcp3/files/patch-common::print.c') diff --git a/net/isc-dhcp3/files/patch-common::print.c b/net/isc-dhcp3/files/patch-common::print.c new file mode 100644 index 000000000000..0fd3101c5b32 --- /dev/null +++ b/net/isc-dhcp3/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 */ -- cgit v1.2.3