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
..
2010-02-26 17:53:31 +01:00
2010-04-01 17:26:01 -07:00
2010-02-22 16:20:22 -08:00
2010-02-16 15:55:18 -08:00
2009-10-07 14:45:58 -07:00
2009-10-18 18:52:53 -07:00
2010-03-26 20:27:49 -07:00
2010-02-22 16:20:22 -08:00
2010-01-17 19:16:02 -08:00
2009-10-05 00:21:56 -07:00
2009-05-18 15:16:37 -07:00
2009-12-03 12:22:55 -08:00
2010-02-04 14:58:46 -08:00
2010-03-21 18:01:05 -07:00
2010-01-23 01:21:28 -08:00
2010-02-14 22:30:54 -08:00
2010-01-17 19:09:39 -08:00
2010-01-19 14:12:20 -08:00
2009-02-26 23:13:35 -08:00
2009-12-08 20:17:51 -08:00
2009-11-23 10:41:23 -08:00
2009-12-08 20:19:53 -08:00
2009-11-13 20:46:58 -08:00
2009-06-03 02:51:04 -07:00
2010-02-02 11:46:50 -08:00
2010-03-21 21:23:28 -07:00
2009-11-25 15:14:13 -08:00
2009-06-03 02:51:04 -07:00
2010-01-06 20:37:01 -08:00
2010-01-11 16:28:01 -08:00
2010-02-22 16:20:22 -08:00
2010-03-12 00:00:17 -08:00
2010-02-16 14:55:25 -08:00
2010-03-27 08:33:21 -07:00
2009-10-27 19:34:04 -04:00
2008-10-07 08:38:24 +11:00
2009-12-08 07:55:01 -08:00
2010-03-08 10:45:27 -08:00
2009-09-14 17:03:01 -07:00
2009-10-29 21:28:59 -07:00
2010-03-26 20:57:35 -07:00
2009-12-23 14:13:30 -08:00
2010-02-18 15:43:09 -08:00
2009-03-02 03:00:15 -08:00
2009-08-14 11:18:34 +10:00
2009-03-02 03:00:15 -08:00
2009-12-03 16:06:13 -08:00
2008-01-28 14:55:41 -08:00
2009-11-23 10:41:23 -08:00
2008-10-07 15:58:17 -07:00
2008-01-28 14:55:41 -08:00
2010-03-19 22:47:22 -07:00
2010-03-19 21:00:42 -07:00
2009-11-23 10:41:23 -08:00
2010-03-05 13:34:03 -08:00
2010-03-08 11:32:01 -08:00
2010-01-25 15:47:50 -08:00
2009-03-02 03:00:15 -08:00
2010-03-08 16:55:37 +01:00
2009-05-25 22:44:59 -07:00
2007-07-31 02:27:57 -07:00
2009-11-23 10:41:23 -08:00
2007-07-31 02:27:57 -07:00
2009-11-23 10:41:23 -08:00
2010-03-30 13:56:01 -07:00
2009-09-14 17:03:01 -07:00
2009-09-30 16:12:20 -07:00
2010-03-05 13:34:03 -08:00
2010-01-17 19:16:02 -08:00
2009-06-03 02:51:04 -07:00
2008-08-06 02:39:30 -07:00
2007-10-10 16:55:54 -07:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2010-03-03 01:04:37 -08:00
2008-11-25 01:05:54 -08:00
2008-01-31 19:27:24 -08:00