Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 57f086bc authored by Oliver Neukum's avatar Oliver Neukum Committed by Sasha Levin
Browse files

cdc-acm: add sanity checks


[ Upstream commit 7e860a6e ]

Check the special CDC headers for a plausible minimum length.
Another big operating systems ignores such garbage.

Signed-off-by: default avatarOliver Neukum <oneukum@suse.de>
CC: stable@vger.kernel.org
Reviewed-by: default avatarAdam Lee <adam8157@gmail.com>
Tested-by: default avatarAdam Lee <adam8157@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent a1f3efd4
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment