diff options
author | Arjan van de Ven <[email protected]> | 2009-09-26 20:51:14 +0200 |
---|---|---|
committer | John W. Linville <[email protected]> | 2009-09-28 16:55:06 -0400 |
commit | 8503bd8c7dc6f82ec2de9d05e0a476e6ca5adc8b (patch) | |
tree | 42da5de2f0ee624e675d7b27f7e8c05301de0d2d /tools/perf/scripts/python/check-perf-trace.py | |
parent | 0ff716136ab73d2fc1edc0664e38169e7a76bb9a (diff) |
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 <[email protected]>
Cc: [email protected]
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions