linux/net/tipc
Wei Yongjun c20cb81193 tipc: fix possible memory leak in tipc_udp_enable()
'ub' is malloced in tipc_udp_enable() and should be freed before
leaving from the error handling cases, otherwise it will cause
memory leak.

Fixes: ba5aa84a2d ("tipc: split UDP nl address parsing")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-09-13 11:28:32 -04:00
..
addr.c
addr.h tipc: introduce constants for tipc address validation 2016-07-26 14:26:42 -07:00
bcast.c tipc: transfer broadcast nacks in link state messages 2016-09-02 17:10:24 -07:00
bcast.h tipc: transfer broadcast nacks in link state messages 2016-09-02 17:10:24 -07:00
bearer.c tipc: add the ability to get UDP options via netlink 2016-08-26 21:38:41 -07:00
bearer.h tipc: introduce UDP replicast 2016-08-26 21:38:41 -07:00
core.c
core.h
discover.c tipc: honor msg2addr return value 2016-06-29 05:17:37 -04:00
discover.h
eth_media.c
ib_media.c
Kconfig
link.c tipc: send broadcast nack directly upon sequence gap detection 2016-09-02 17:10:25 -07:00
link.h tipc: transfer broadcast nacks in link state messages 2016-09-02 17:10:24 -07:00
Makefile
monitor.c tipc: fix variable dereference before NULL check 2016-08-10 17:56:52 -07:00
monitor.h tipc: dump monitor attributes 2016-07-26 14:26:42 -07:00
msg.c
msg.h tipc: transfer broadcast nacks in link state messages 2016-09-02 17:10:24 -07:00
name_distr.c tipc: fix random link resets while adding a second bearer 2016-09-01 10:12:26 -07:00
name_distr.h
name_table.c
name_table.h
net.c
net.h tipc: add peer removal functionality 2016-08-18 23:36:07 -07:00
netlink_compat.c tipc: fix nl compat regression for link statistics 2016-07-01 16:47:38 -04:00
netlink.c tipc: add UDP remoteip dump to netlink API 2016-08-26 21:38:41 -07:00
netlink.h tipc: make cluster size threshold for monitoring configurable 2016-07-26 14:26:42 -07:00
node.c tipc: transfer broadcast nacks in link state messages 2016-09-02 17:10:24 -07:00
node.h tipc: transfer broadcast nacks in link state messages 2016-09-02 17:10:24 -07:00
server.c tipc: Use kmemdup instead of kmalloc and memcpy 2016-06-27 09:56:58 -04:00
server.h
socket.c tipc: fix NULL pointer dereference in shutdown() 2016-08-15 13:55:36 -07:00
socket.h
subscr.c
subscr.h
sysctl.c
udp_media.c tipc: fix possible memory leak in tipc_udp_enable() 2016-09-13 11:28:32 -04:00
udp_media.h tipc: add UDP remoteip dump to netlink API 2016-08-26 21:38:41 -07:00