diff options
author | Oliver Neukum <oneukum@suse.de> | 2013-03-12 14:52:42 +0100 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2013-03-20 15:03:35 +0000 |
commit | 8e535446a78958888b16db9d619d0f60c1950622 (patch) | |
tree | c1089553dcba1a81c3562546a5bba9b7ed6739cf /tools/perf/scripts/python/syscall-counts.py | |
parent | cd1444055c4a0e6af16751335828d2db5ddf919a (diff) |
USB: cdc-wdm: fix buffer overflow
commit c0f5ecee4e741667b2493c742b60b6218d40b3aa upstream.
The buffer for responses must not overflow.
If this would happen, set a flag, drop the data and return
an error after user space has read all remaining data.
Signed-off-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions