diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2009-09-26 20:51:14 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-09-28 16:55:06 -0400 |
commit | 8503bd8c7dc6f82ec2de9d05e0a476e6ca5adc8b (patch) | |
tree | 42da5de2f0ee624e675d7b27f7e8c05301de0d2d /arch/powerpc/kvm | |
parent | 0ff716136ab73d2fc1edc0664e38169e7a76bb9a (diff) | |
download | op-kernel-dev-8503bd8c7dc6f82ec2de9d05e0a476e6ca5adc8b.zip op-kernel-dev-8503bd8c7dc6f82ec2de9d05e0a476e6ca5adc8b.tar.gz |
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>
Diffstat (limited to 'arch/powerpc/kvm')
0 files changed, 0 insertions, 0 deletions