linux/net
Changli Gao 6503d96168 net: check the length of the socket address passed to connect(2)
check the length of the socket address passed to connect(2).

Check the length of the socket address passed to connect(2). If the
length is invalid, -EINVAL will be returned.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
----
net/bluetooth/l2cap.c | 3 ++-
net/bluetooth/rfcomm/sock.c | 3 ++-
net/bluetooth/sco.c | 3 ++-
net/can/bcm.c | 3 +++
net/ieee802154/af_ieee802154.c | 3 +++
net/ipv4/af_inet.c | 5 +++++
net/netlink/af_netlink.c | 3 +++
7 files changed, 20 insertions(+), 3 deletions(-)
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-04-01 17:26:01 -07:00
..
9p 9p: Change the name of new protocol from 9p2010.L to 9p2000.L 2010-03-13 08:57:29 -06:00
802
8021q vlan: updates vlan real_num_tx_queues 2010-03-24 11:11:38 -07:00
appletalk
atm
ax25
bluetooth net: check the length of the socket address passed to connect(2) 2010-04-01 17:26:01 -07:00
bridge bridge: Make first arg to deliver_clone const. 2010-03-16 14:37:47 -07:00
can net: check the length of the socket address passed to connect(2) 2010-04-01 17:26:01 -07:00
core netpoll: warn when there are spaces in parameters 2010-03-22 20:05:45 -07:00
dcb
dccp net-2.6 [Bug-Fix][dccp]: fix oops caused after failed initialisation 2010-03-15 16:00:50 -07:00
decnet
dsa
econet
ethernet
ieee802154 net: check the length of the socket address passed to connect(2) 2010-04-01 17:26:01 -07:00
ipv4 net: check the length of the socket address passed to connect(2) 2010-04-01 17:26:01 -07:00
ipv6 ipv6: Don't drop cache route entry unless timer actually expired. 2010-03-28 19:34:26 -07:00
ipx
irda
iucv
key af_key: return error if pfkey_xfrm_policy2msg_prep() fails 2010-03-24 13:28:27 -07:00
lapb
llc
mac80211 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2010-03-31 19:32:50 -07:00
netfilter Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-2.6 2010-03-25 11:48:58 -07:00
netlabel
netlink net: check the length of the socket address passed to connect(2) 2010-04-01 17:26:01 -07:00
netrom
packet
phonet phonet: use for_each_set_bit() 2010-03-15 16:00:47 -07:00
rds
rfkill
rose
rxrpc rxrpc: Check allocation failure. 2010-03-22 09:57:19 -07:00
sched cgroups: net_cls as module 2010-03-23 13:06:14 -07:00
sctp Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2010-03-13 14:50:18 -08:00
sunrpc Merge branch 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6 2010-03-18 16:50:09 -07:00
tipc tipc: fix lockdep warning on address assignment 2010-03-16 14:15:45 -07:00
unix
wanrouter
wimax
wireless wireless: convert reg_regdb_search_lock to mutex 2010-03-30 15:37:20 -04:00
x25
xfrm
compat.c
Kconfig
Makefile
nonet.c
socket.c net: Add MSG_WAITFORONE flag to recvmmsg 2010-03-27 08:29:01 -07:00
sysctl_net.c
TUNABLE