summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2017-05-08 11:39:36 -0700
committerPatrick McLean <chutzpah@gentoo.org>2017-05-08 11:39:36 -0700
commiteae6e7a80bc2934ae1557731fc0ad71cd92af99b (patch)
tree053ad6aab4b7eadfa04e52050114543c782355bb /net-nds/rpcbind/files
parentnet-libs/libtirpc: Revision bump to pull in patch for CVE-2017-8779 (diff)
downloadgentoo-eae6e7a80bc2934ae1557731fc0ad71cd92af99b.tar.gz
gentoo-eae6e7a80bc2934ae1557731fc0ad71cd92af99b.tar.bz2
gentoo-eae6e7a80bc2934ae1557731fc0ad71cd92af99b.zip
net-nds/rpcbind: Revision bump to pull in patch for CVE-2017-8779
Gentoo-Bug: 617472 Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'net-nds/rpcbind/files')
-rw-r--r--net-nds/rpcbind/files/rpcbind-0.2.4-CVE-2017-8779.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/net-nds/rpcbind/files/rpcbind-0.2.4-CVE-2017-8779.patch b/net-nds/rpcbind/files/rpcbind-0.2.4-CVE-2017-8779.patch
new file mode 100644
index 000000000000..cef088badc91
--- /dev/null
+++ b/net-nds/rpcbind/files/rpcbind-0.2.4-CVE-2017-8779.patch
@@ -0,0 +1,21 @@
+diff --git a/src/rpcb_svc_com.c b/src/rpcb_svc_com.c
+index 5862c26..e11f61b 100644
+--- a/src/rpcb_svc_com.c
++++ b/src/rpcb_svc_com.c
+@@ -48,6 +48,7 @@
+ #include <rpc/rpc.h>
+ #include <rpc/rpcb_prot.h>
+ #include <rpc/svc_dg.h>
++#include <rpc/rpc_com.h>
+ #include <netconfig.h>
+ #include <errno.h>
+ #include <syslog.h>
+@@ -432,7 +433,7 @@ rpcbproc_taddr2uaddr_com(void *arg, struct svc_req *rqstp /*__unused*/,
+ static bool_t
+ xdr_encap_parms(XDR *xdrs, struct encap_parms *epp)
+ {
+- return (xdr_bytes(xdrs, &(epp->args), (u_int *) &(epp->arglen), ~0));
++ return (xdr_bytes(xdrs, &(epp->args), (u_int *) &(epp->arglen), RPC_MAXDATASIZE));
+ }
+
+ /*