diff options
author | Oliver Neukum <oneukum@suse.de> | 2013-03-12 14:52:42 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-20 13:04:58 -0700 |
commit | 5c6142cc0c0e58daff87e26b1fce585397418bc4 (patch) | |
tree | 055d24effa02f6391285cebaebb63ecb107d9d57 /drivers/w1 | |
parent | 82eccc247f86010b0936983b6e963ffd5d4c79e1 (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>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions