diff options
author | Oliver Neukum <oneukum@suse.de> | 2013-03-12 14:52:42 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-12 16:33:05 -0700 |
commit | c0f5ecee4e741667b2493c742b60b6218d40b3aa (patch) | |
tree | 64f1a695a53a28eaaebe90a0816746d28ab63511 /crypto/gf128mul.c | |
parent | a57e82a18779ab8a5e5a1f5841cef937cf578913 (diff) |
USB: cdc-wdm: fix buffer overflow
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>
CC: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/gf128mul.c')
0 files changed, 0 insertions, 0 deletions