mbox series

[ethtool,0/2] netlink: data lifetime error fixes

Message ID cover.1604924742.git.mkubecek@suse.cz
Headers show
Series netlink: data lifetime error fixes | expand


Michal Kubecek Nov. 9, 2020, 12:30 p.m. UTC
Fixes of two data lifetime bugs found by testing with valgrind: one use
after free, one memory leak.

Michal Kubecek (2):
  netlink: fix use after free in netlink_run_handler()
  netlink: fix leaked instances of struct nl_socket

 netlink/netlink.c | 21 +++++++++++++++------
 netlink/nlsock.c  |  3 +++
 2 files changed, 18 insertions(+), 6 deletions(-)