diff options
author | Sasha Levin <sasha.levin@oracle.com> | 2015-03-23 20:30:00 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-24 17:50:39 +0100 |
commit | 610600c8c5e25d551a010b64412cf731c084b1e1 (patch) | |
tree | aa1e059d0a28f346d32e764c7720ff8126fc8f49 /lib | |
parent | net: remove never used forwarding_accel_ops pointer from net_device (diff) | |
download | linux-610600c8c5e25d551a010b64412cf731c084b1e1.tar.xz linux-610600c8c5e25d551a010b64412cf731c084b1e1.zip |
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions