summaryrefslogtreecommitdiff
path: root/drivers/w1
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.de>2013-03-12 14:52:42 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-20 13:04:58 -0700
commit5c6142cc0c0e58daff87e26b1fce585397418bc4 (patch)
tree055d24effa02f6391285cebaebb63ecb107d9d57 /drivers/w1
parent82eccc247f86010b0936983b6e963ffd5d4c79e1 (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