Marcus Meissner
1cceec7736
- svc-freeargs: always call svc_freeargs, even if svc_getargs failed (bsc#1037559, CVE-2017-8779) OBS-URL: https://build.opensuse.org/request/show/495541 OBS-URL: https://build.opensuse.org/package/show/network/rpcbind?expand=0&rev=70
27 lines
818 B
Diff
27 lines
818 B
Diff
Index: rpcbind-0.2.3/src/rpcb_svc.c
|
|
===================================================================
|
|
--- rpcbind-0.2.3.orig/src/rpcb_svc.c
|
|
+++ rpcbind-0.2.3/src/rpcb_svc.c
|
|
@@ -166,7 +166,7 @@ rpcb_service_3(struct svc_req *rqstp, SV
|
|
svcerr_decode(transp);
|
|
if (debugging)
|
|
(void) xlog(LOG_DEBUG, "rpcbind: could not decode");
|
|
- return;
|
|
+ goto done;
|
|
}
|
|
|
|
if (rqstp->rq_proc == RPCBPROC_SET
|
|
Index: rpcbind-0.2.3/src/rpcb_svc_4.c
|
|
===================================================================
|
|
--- rpcbind-0.2.3.orig/src/rpcb_svc_4.c
|
|
+++ rpcbind-0.2.3/src/rpcb_svc_4.c
|
|
@@ -220,7 +220,7 @@ rpcb_service_4(struct svc_req *rqstp, SV
|
|
svcerr_decode(transp);
|
|
if (debugging)
|
|
(void) xlog(LOG_DEBUG, "rpcbind: could not decode\n");
|
|
- return;
|
|
+ goto done;
|
|
}
|
|
|
|
if (rqstp->rq_proc == RPCBPROC_SET
|