freebsd-ports/dns/ez-ipupdate/files/patch-ez-ipupdate.c
Christian Weisgerber 9df9abd00d Fix a format string vulnerability in ez-ipupdate.
Approved by:	se@
Obtained from:	Ulf Harnhammar <Ulf.Harnhammar.9485@student.uu.se>
2004-11-11 15:46:04 +00:00

14 lines
241 B
C

$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
{