1 diff --git a/src/rpcb_svc_com.c b/src/rpcb_svc_com.c
2 index 5862c26..e11f61b 100644
3 --- a/src/rpcb_svc_com.c
4 +++ b/src/rpcb_svc_com.c
7 #include <rpc/rpcb_prot.h>
8 #include <rpc/svc_dg.h>
9 +#include <rpc/rpc_com.h>
10 #include <netconfig.h>
13 @@ -432,7 +433,7 @@ rpcbproc_taddr2uaddr_com(void *arg, struct svc_req *rqstp /*__unused*/,
15 xdr_encap_parms(XDR *xdrs, struct encap_parms *epp)
17 - return (xdr_bytes(xdrs, &(epp->args), (u_int *) &(epp->arglen), ~0));
18 + return (xdr_bytes(xdrs, &(epp->args), (u_int *) &(epp->arglen), RPC_MAXDATASIZE));