From d888e83168d4aeb4597e57d13f60e6896dc56064 Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Thu, 13 Sep 2018 14:51:38 -0400 Subject: [PATCH] Removed a false positive from the covscan Signed-off-by: Steve Dickson --- libtirpc-1.1.5-rc1.patch | 13 ------------- libtirpc.spec | 5 ++++- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/libtirpc-1.1.5-rc1.patch b/libtirpc-1.1.5-rc1.patch index bb460b1..63484ab 100644 --- a/libtirpc-1.1.5-rc1.patch +++ b/libtirpc-1.1.5-rc1.patch @@ -31,19 +31,6 @@ index 98cf061..2ad6c89 100644 return (RPC_UNKNOWNPROTO); } while ((nconf = __rpc_getconf(handle)) != NULL) { -diff --git a/src/clnt_vc.c b/src/clnt_vc.c -index 3d775c7..10ee91a 100644 ---- a/src/clnt_vc.c -+++ b/src/clnt_vc.c -@@ -325,6 +325,8 @@ clnt_vc_create(fd, raddr, prog, vers, sendsz, recvsz) - recvsz = __rpc_get_t_size(si.si_af, si.si_proto, (int)recvsz); - xdrrec_create(&(ct->ct_xdrs), sendsz, recvsz, - cl->cl_private, read_vc, write_vc); -+ mem_free(ct->ct_addr.buf, ct->ct_addr.len); -+ mem_free(ct, sizeof (struct ct_data)); - return (cl); - - err: diff --git a/src/getnetconfig.c b/src/getnetconfig.c index 92e7c43..d67d97d 100644 --- a/src/getnetconfig.c diff --git a/libtirpc.spec b/libtirpc.spec index 56c05a1..8b69f50 100644 --- a/libtirpc.spec +++ b/libtirpc.spec @@ -2,7 +2,7 @@ Name: libtirpc Version: 1.1.4 -Release: 0.rc1%{?dist} +Release: 1.rc1%{?dist} Summary: Transport Independent RPC Library Group: System Environment/Libraries License: SISSL and BSD @@ -128,6 +128,9 @@ mv %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/man3t %{_mandir}/*/* %changelog +* Thu Sep 13 2018 Steve Dickson 1.1.4-1.rc1 +- Removed a false positive from the covscan + * Tue Sep 11 2018 Steve Dickson 1.1.4-0.rc1 - Updated to latest upstream RC releasse (bz 1627832)