net: validate the range we feed to iov_iter_init() in sys_sendto/sys_recvfrom
authorAl Viro <viro@ZenIV.linux.org.uk>
Fri, 20 Mar 2015 17:41:43 +0000 (17:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Mar 2015 20:38:06 +0000 (16:38 -0400)
commit4de930efc23b92ddf88ce91c405ee645fe6e27ea
treea5e02f72e51fca0aefd06600409bd42bc49392fb
parent91edd096e224941131f896b86838b1e59553696a
net: validate the range we feed to iov_iter_init() in sys_sendto/sys_recvfrom

Cc: stable@vger.kernel.org # v3.19
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c