diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-07-14 18:44:45 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-07-14 18:53:54 +0000 |
commit | 19ae9575a3b6ad8c7de8402b0926e36b51582544 (patch) | |
tree | d42ecd1c417d02898b1b2a51d65f909da06c6bce /main/rpcbind/pmapproc_dump-Fixed-typo-in-memory-leak-patch.patch | |
parent | 787ab5d018ebef6741cdb3c9d4f1bdf105edfa62 (diff) | |
download | aports-19ae9575a3b6ad8c7de8402b0926e36b51582544.tar.bz2 aports-19ae9575a3b6ad8c7de8402b0926e36b51582544.tar.xz |
main/rpcbind: upgrade to 0.2.4
Diffstat (limited to 'main/rpcbind/pmapproc_dump-Fixed-typo-in-memory-leak-patch.patch')
-rw-r--r-- | main/rpcbind/pmapproc_dump-Fixed-typo-in-memory-leak-patch.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/main/rpcbind/pmapproc_dump-Fixed-typo-in-memory-leak-patch.patch b/main/rpcbind/pmapproc_dump-Fixed-typo-in-memory-leak-patch.patch new file mode 100644 index 0000000000..fbe70d231e --- /dev/null +++ b/main/rpcbind/pmapproc_dump-Fixed-typo-in-memory-leak-patch.patch @@ -0,0 +1,29 @@ +From c49a7ea639eb700823e174fd605bbbe183e229aa Mon Sep 17 00:00:00 2001 +From: Steve Dickson <steved@redhat.com> +Date: Wed, 17 May 2017 10:52:25 -0400 +Subject: [PATCH] pmapproc_dump: Fixed typo in memory leak patch + +commit 7ea36eee introduce a typo that caused +NIS (aka ypbind) to fail. + +Signed-off-by: Steve Dickson <steved@redhat.com> +--- + src/pmap_svc.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/pmap_svc.c b/src/pmap_svc.c +index e926cdc..26c31d0 100644 +--- a/src/pmap_svc.c ++++ b/src/pmap_svc.c +@@ -384,7 +384,7 @@ pmapproc_dump(struct svc_req *rqstp /*__unused*/, SVCXPRT *xprt) + } + + done: +- if (!svc_freeargs(xprt, (xdrproc_t) xdr_pmap, (char *)NULL)) { ++ if (!svc_freeargs(xprt, (xdrproc_t) xdr_void, (char *)NULL)) { + if (debugging) { + (void) xlog(LOG_DEBUG, "unable to free arguments\n"); + if (doabort) { +-- +1.8.3.1 + |