freebsd-ports/net/samba4/files/patch-source3__lib__sysquotas_nfs.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
507 B
C

--- source3/lib/sysquotas_nfs.c.orig 2013-11-05 12:08:05.568859038 +0000
+++ source3/lib/sysquotas_nfs.c 2013-11-05 12:08:28.560058330 +0000
@@ -154,7 +154,7 @@
gq_args.gqa_uid = id.uid;
DEBUG(10, ("sys_get_nfs_quotas: Asking for quota of path '%s' on "
- "host '%s', rpcprog '%i', rpcvers '%i', network '%s'\n",
+ "host '%s', rpcprog '%li', rpcvers '%li', network '%s'\n",
host, testpath+1, RQUOTAPROG, RQUOTAVERS, "udp"));
clnt = clnt_create(host, RQUOTAPROG, RQUOTAVERS, "udp");