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
..
2016-04-13 10:41:10 +02:00
2016-03-10 20:54:09 -05:00
2016-03-17 21:05:01 -04:00
2016-05-11 19:36:28 -04:00
2016-03-09 16:36:15 -05:00
2016-05-12 11:46:58 -04:00
2016-04-14 16:23:40 -04:00
2016-05-16 13:44:58 -04:00
2016-04-27 22:48:23 -04:00
2016-05-13 01:43:52 -04:00
2016-05-08 23:46:14 -04:00