diff options
author | jedgar <jedgar@FreeBSD.org> | 2002-05-09 09:59:27 +0800 |
---|---|---|
committer | jedgar <jedgar@FreeBSD.org> | 2002-05-09 09:59:27 +0800 |
commit | b3b84b3964656d661940c96da4e3563e526374d2 (patch) | |
tree | 37425ee96cd4d00359939273ad16447ed38dbd7b | |
parent | 92a14145e21e55495ca5592910e54b021e9cd3c5 (diff) | |
download | freebsd-ports-gnome-b3b84b3964656d661940c96da4e3563e526374d2.tar.gz freebsd-ports-gnome-b3b84b3964656d661940c96da4e3563e526374d2.tar.zst freebsd-ports-gnome-b3b84b3964656d661940c96da4e3563e526374d2.zip |
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
-rw-r--r-- | net/isc-dhcp3-server/Makefile | 1 | ||||
-rw-r--r-- | net/isc-dhcp3-server/files/patch-common::print.c | 13 | ||||
-rw-r--r-- | net/isc-dhcp3/Makefile | 1 | ||||
-rw-r--r-- | net/isc-dhcp3/files/patch-common::print.c | 13 | ||||
-rw-r--r-- | net/isc-dhcp30-server/Makefile | 1 | ||||
-rw-r--r-- | net/isc-dhcp30-server/files/patch-common::print.c | 13 | ||||
-rw-r--r-- | net/isc-dhcp31-server/Makefile | 1 | ||||
-rw-r--r-- | net/isc-dhcp31-server/files/patch-common::print.c | 13 | ||||
-rw-r--r-- | net/isc-dhcp40-server/Makefile | 1 | ||||
-rw-r--r-- | net/isc-dhcp40-server/files/patch-common::print.c | 13 |
10 files changed, 70 insertions, 0 deletions
diff --git a/net/isc-dhcp3-server/Makefile b/net/isc-dhcp3-server/Makefile index 5ec2fe97e6c5..b1fc83b85696 100644 --- a/net/isc-dhcp3-server/Makefile +++ b/net/isc-dhcp3-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-dhcp3-server/files/patch-common::print.c b/net/isc-dhcp3-server/files/patch-common::print.c new file mode 100644 index 000000000000..0fd3101c5b32 --- /dev/null +++ b/net/isc-dhcp3-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 */ diff --git a/net/isc-dhcp3/Makefile b/net/isc-dhcp3/Makefile index 5ec2fe97e6c5..b1fc83b85696 100644 --- a/net/isc-dhcp3/Makefile +++ b/net/isc-dhcp3/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-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 */ diff --git a/net/isc-dhcp30-server/Makefile b/net/isc-dhcp30-server/Makefile index 5ec2fe97e6c5..b1fc83b85696 100644 --- a/net/isc-dhcp30-server/Makefile +++ b/net/isc-dhcp30-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-dhcp30-server/files/patch-common::print.c b/net/isc-dhcp30-server/files/patch-common::print.c new file mode 100644 index 000000000000..0fd3101c5b32 --- /dev/null +++ b/net/isc-dhcp30-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 */ diff --git a/net/isc-dhcp31-server/Makefile b/net/isc-dhcp31-server/Makefile index 5ec2fe97e6c5..b1fc83b85696 100644 --- a/net/isc-dhcp31-server/Makefile +++ b/net/isc-dhcp31-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-dhcp31-server/files/patch-common::print.c b/net/isc-dhcp31-server/files/patch-common::print.c new file mode 100644 index 000000000000..0fd3101c5b32 --- /dev/null +++ b/net/isc-dhcp31-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 */ 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 */ |