Sasha Levin 610600c8c5 tipc: validate length of sockaddr in connect() for dgram/rdm
Commit f2f8036 ("tipc: add support for connect() on dgram/rdm sockets")
hasn't validated user input length for the sockaddr structure which allows
a user to overwrite kernel memory with arbitrary input.

Fixes: f2f8036 ("tipc: add support for connect() on dgram/rdm sockets")
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-24 12:50:39 -04:00
..
2015-03-05 22:08:42 -05:00
2015-02-09 13:20:49 -08:00
2015-03-05 22:08:42 -05:00
2015-03-14 14:38:32 -04:00
2015-03-05 22:08:42 -05:00
2015-03-14 14:38:32 -04:00
2015-03-14 14:38:32 -04:00
2015-03-17 22:11:26 -04:00