lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 11 Jul 2022 08:52:49 +0900
From:   Benjamin Poirier <bpoirier@...dia.com>
To:     Stephen Hemminger <stephen@...workplumber.org>
Cc:     netdev@...r.kernel.org, Ido Schimmel <idosch@...dia.com>,
        Roopa Prabhu <roopa@...dia.com>,
        Paolo Abeni <pabeni@...hat.com>,
        David Ahern <dsahern@...il.com>
Subject: [PATCH iproute2 0/5] Fix memory leaks in callers of rtnl_talk()

The answer returned by rtnl_recvmsg() must be freed by the caller. A few
callers, through rtnl_talk(), mistakenly omit to free the result, leading
to memory leaks. The impact of these leaks is minimal but they clutter the
output of valgrind and similar tools and they lead to inconsistent code
patterns.

Benjamin Poirier (5):
  ip address: Fix memory leak when specifying device
  bridge: Fix memory leak when doing 'fdb get'
  mptcp: Fix memory leak when doing 'endpoint show'
  mptcp: Fix memory leak when getting limits
  ip neigh: Fix memory leak when doing 'get'

 bridge/fdb.c   |  7 +++++--
 ip/ipaddress.c |  2 ++
 ip/ipmptcp.c   | 11 ++++++++---
 ip/ipneigh.c   |  2 ++
 4 files changed, 17 insertions(+), 5 deletions(-)

-- 
2.36.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ