mbox series

[00/13] libtirpc: Closed a number of memory leaks

Message ID 20180907180151.178872-1-steved@redhat.com (mailing list archive)
Headers show
Series libtirpc: Closed a number of memory leaks | expand

Message

Steve Dickson Sept. 7, 2018, 6:01 p.m. UTC
There patches close a number of memory leaks that
were found using a covscan. Most them were in error
recovery code but a few of them were in main line code.


Steve Dickson (13):
  auth_gss.c: resource_leak
  auth_gss.c: buffer_size_warning
  clnt_bcast.c: resource_leak
  clnt_vc.c: resource_leak
  getnetconfig.c: cppcheck_warning
  getnetpath.c: resource_leak
  rpc_generic.c: resource_leak
  rpc_soc.c: resource_leak
  rpc_soc.c: buffer_size_warning
  rpcb_clnt.c: resource_leak
  rtime.c: resource_leak
  svc_generic.c: resource_leak
  svc_simple.c: resource_leak

 src/auth_gss.c     | 3 ++-
 src/clnt_bcast.c   | 1 +
 src/clnt_vc.c      | 2 ++
 src/getnetconfig.c | 2 ++
 src/getnetpath.c   | 1 +
 src/rpc_generic.c  | 1 +
 src/rpc_soc.c      | 8 ++++++--
 src/rpcb_clnt.c    | 1 +
 src/rtime.c        | 1 +
 src/svc_generic.c  | 1 +
 src/svc_simple.c   | 1 +
 11 files changed, 19 insertions(+), 3 deletions(-)

Comments

Steve Dickson Sept. 11, 2018, 4 p.m. UTC | #1
On 09/07/2018 02:01 PM, Steve Dickson wrote:
> There patches close a number of memory leaks that
> were found using a covscan. Most them were in error
> recovery code but a few of them were in main line code.
> 
> 
> Steve Dickson (13):
>   auth_gss.c: resource_leak
>   auth_gss.c: buffer_size_warning
>   clnt_bcast.c: resource_leak
>   clnt_vc.c: resource_leak
>   getnetconfig.c: cppcheck_warning
>   getnetpath.c: resource_leak
>   rpc_generic.c: resource_leak
>   rpc_soc.c: resource_leak
>   rpc_soc.c: buffer_size_warning
>   rpcb_clnt.c: resource_leak
>   rtime.c: resource_leak
>   svc_generic.c: resource_leak
>   svc_simple.c: resource_leak
> 
>  src/auth_gss.c     | 3 ++-
>  src/clnt_bcast.c   | 1 +
>  src/clnt_vc.c      | 2 ++
>  src/getnetconfig.c | 2 ++
>  src/getnetpath.c   | 1 +
>  src/rpc_generic.c  | 1 +
>  src/rpc_soc.c      | 8 ++++++--
>  src/rpcb_clnt.c    | 1 +
>  src/rtime.c        | 1 +
>  src/svc_generic.c  | 1 +
>  src/svc_simple.c   | 1 +
>  11 files changed, 19 insertions(+), 3 deletions(-)
> 
Committed (tag: libtirpc-1-1-5-rc1)