Richard Alpe 45e093ae28 tipc: check nl sock before parsing nested attributes
Make sure the socket for which the user is listing publication exists
before parsing the socket netlink attributes.

Prior to this patch a call without any socket caused a NULL pointer
dereference in tipc_nl_publ_dump().

Tested-and-reported-by: Baozeng Ding <sploving1@gmail.com>
Signed-off-by: Richard Alpe <richard.alpe@ericsson.com>
Acked-by: Jon Maloy <jon.maloy@ericsson.cm>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-16 21:58:54 -04:00
..
2015-05-14 12:24:45 -04:00
2015-05-14 12:24:45 -04:00
2016-04-11 15:22:20 -04:00
2015-03-05 22:08:42 -05:00
2015-03-05 22:08:42 -05:00
2016-03-07 14:56:41 -05:00