diff options
author | naddy <naddy@FreeBSD.org> | 2004-11-11 15:46:04 +0000 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2004-11-11 15:46:04 +0000 |
commit | 1c1c26d11ff8388704d6c432304f7c102b6a1730 (patch) | |
tree | ae5f212c735278d77b617bcc9fc3d886b5d9a592 /dns/ez-ipupdate | |
parent | 330aea05dc7b28b4b86d9548a112c220925d3568 (diff) | |
download | FreeBSD-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/Makefile | 2 | ||||
-rw-r--r-- | dns/ez-ipupdate/files/patch-ez-ipupdate.c | 14 |
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 + { |