diff options
author | Oliver Neukum <oneukum@suse.de> | 2015-01-28 11:14:55 +0100 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2015-05-09 23:16:14 +0100 |
commit | 5b013a6d6593cd1c6a5b8e27b0bd11765b547896 (patch) | |
tree | 8ea602adbc9980f32514f62f2f3ac636136a29a3 /include | |
parent | 8801366e8d331dc84697211ea325fee207787be1 (diff) | |
download | kernel_samsung_smdk4412-5b013a6d6593cd1c6a5b8e27b0bd11765b547896.zip kernel_samsung_smdk4412-5b013a6d6593cd1c6a5b8e27b0bd11765b547896.tar.gz kernel_samsung_smdk4412-5b013a6d6593cd1c6a5b8e27b0bd11765b547896.tar.bz2 |
cdc-acm: add sanity checks
commit 7e860a6e7aa62b337a61110430cd633db5b0d2dd upstream.
Check the special CDC headers for a plausible minimum length.
Another big operating systems ignores such garbage.
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Reviewed-by: Adam Lee <adam8157@gmail.com>
Tested-by: Adam Lee <adam8157@gmail.com>
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 'include')
0 files changed, 0 insertions, 0 deletions