Arjan van de Ven 8503bd8c7d wext: Add bound checks for copy_from_user
The wireless extensions have a copy_from_user to a local stack
array "essid", but both me and gcc have failed to find where
the bounds for this copy are located in the code.

This patch adds some basic sanity checks for the copy length
to make sure that we don't overflow the stack buffer.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Cc: linux-wireless@vger.kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-09-28 16:55:06 -04:00
..
2009-09-23 22:26:32 +09:30
2009-09-26 20:16:15 -07:00
2009-09-24 15:39:22 -07:00
2009-09-02 01:03:53 -07:00
2009-09-14 17:03:09 -07:00
2009-09-24 15:39:14 -07:00
2009-09-02 01:03:53 -07:00
2009-09-23 07:39:28 -07:00