summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/rpcbind/rpcbind_0.2.4.bb
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2018-01-10 09:53:06 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-14 09:11:57 +0000
commitfcd828a22844649c69e061f8b2a956bf09441c33 (patch)
treead38a19fd2c2ae47283e4d9a2266ad157e9b2223 /meta/recipes-extended/rpcbind/rpcbind_0.2.4.bb
parentf015edf9feb43ea5aab9aeba0c01062d0245f1f5 (diff)
downloadpoky-fcd828a22844649c69e061f8b2a956bf09441c33.tar.gz
rpcbind: Stop freeing a static pointer
commit 7ea36ee introduced a svc_freeargs() call that ended up freeing static pointer. It turns out the allocations for the rmt_args is not necessary . The xdr routines (xdr_bytes) will handle the memory management and the largest possible message size is UDPMSGSIZE (due to UDP only) which is smaller than RPC_BUF_MAX (From OE-Core rev: 1d78875de924d794130c86b27ed516a1df40a59d) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/rpcbind/rpcbind_0.2.4.bb')
-rw-r--r--meta/recipes-extended/rpcbind/rpcbind_0.2.4.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/rpcbind/rpcbind_0.2.4.bb b/meta/recipes-extended/rpcbind/rpcbind_0.2.4.bb
index d3eeaf94b6..dcdee6c468 100644
--- a/meta/recipes-extended/rpcbind/rpcbind_0.2.4.bb
+++ b/meta/recipes-extended/rpcbind/rpcbind_0.2.4.bb
@@ -17,6 +17,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/rpcbind/rpcbind-${PV}.tar.bz2 \
17 file://rpcbind.service \ 17 file://rpcbind.service \
18 file://0001-rpcbind-pair-all-svc_getargs-calls-with-svc_freeargs.patch \ 18 file://0001-rpcbind-pair-all-svc_getargs-calls-with-svc_freeargs.patch \
19 file://pmapproc_dump-Fixed-typo-in-memory-leak-patch.patch \ 19 file://pmapproc_dump-Fixed-typo-in-memory-leak-patch.patch \
20 file://rpcbproc_callit_com-Stop-freeing-a-static-pointer.patch \
20 " 21 "
21SRC_URI[md5sum] = "cf10cd41ed8228fc54c316191c1f07fe" 22SRC_URI[md5sum] = "cf10cd41ed8228fc54c316191c1f07fe"
22SRC_URI[sha256sum] = "074a9a530dc7c11e0d905aa59bcb0847c009313f02e98d3d798aa9568f414c66" 23SRC_URI[sha256sum] = "074a9a530dc7c11e0d905aa59bcb0847c009313f02e98d3d798aa9568f414c66"