Fix CVE-2017-8779: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8779 Patch copied from the bug reporter's 3rd-party repository: https://github.com/guidovranken/rpcbomb/blob/master/rpcbind_patch.txt 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 #include #include +#include #include #include #include @@ -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)); } /* lue='switch'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
a703134644'>tests: docker: Fix it....
AgeCommit message (Expand)Author
2023-09-26tests: Assume ‘git’ is always available....Ludovic Courtès
2022-10-17git: 'update-cached-checkout' returns the commit ID when given a tag....Ludovic Courtès
Mathieu Othacehe
2021-09-26tests: Reduce boilerplate for users of 'system-test-runner'....Ludovic Courtès
2021-09-25tests: Adjust to SRFI-64 as found in Guile 3.0.7....Ludovic Courtès
2021-04-12tests: docker: Increase VM building memory size to 1024MiB....Mathieu Othacehe