summaryrefslogtreecommitdiff
path: root/crypto/hash.c
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@linux.intel.com>2009-09-26 18:51:14 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2009-09-28 20:55:06 (GMT)
commit8503bd8c7dc6f82ec2de9d05e0a476e6ca5adc8b (patch)
tree42da5de2f0ee624e675d7b27f7e8c05301de0d2d /crypto/hash.c
parent0ff716136ab73d2fc1edc0664e38169e7a76bb9a (diff)
downloadlinux-fsl-qoriq-8503bd8c7dc6f82ec2de9d05e0a476e6ca5adc8b.tar.xz
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 'crypto/hash.c')
0 files changed, 0 insertions, 0 deletions