freebsd-ports/net/samba4/files/patch-source4__heimdal__lib__roken__rkpty.c
Timur I. Bakeyev a5ced76f06 Upgrade port to the 4.0.12 version, closing CVE-2013-4475 and CVE-2013-4476.
Remove dependency from gettext. Converted to STAGEDIR.

PR:		183872, 183885
Security:	CVE-2013-4475
		CVE-2013-4476
Sponsored by:	my wife
2013-11-19 21:49:39 +00:00

11 lines
500 B
C

--- source4/heimdal/lib/roken/rkpty.c.orig 2013-11-05 12:05:01.120532069 +0000
+++ source4/heimdal/lib/roken/rkpty.c 2013-11-05 12:05:17.764730404 +0000
@@ -232,7 +232,7 @@
errx(1, "timeout waiting for %s (line %u)",
c->str, c->lineno);
else if (alarmset)
- errx(1, "got a signal %d waiting for %s (line %u)",
+ errx(1, "got a signal %ld waiting for %s (line %u)",
alarmset, c->str, c->lineno);
if (sret <= 0)
errx(1, "end command while waiting for %s (line %u)",