Removed a false positive from the covscan
Signed-off-by: Steve Dickson <steved@redhat.com>
This commit is contained in:
parent
ecc61b3324
commit
d888e83168
@ -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
|
||||
|
@ -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 <steved@redhat.com> 1.1.4-1.rc1
|
||||
- Removed a false positive from the covscan
|
||||
|
||||
* Tue Sep 11 2018 Steve Dickson <steved@redhat.com> 1.1.4-0.rc1
|
||||
- Updated to latest upstream RC releasse (bz 1627832)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user