cdc-acm: add sanity checks
Check the special CDC headers for a plausible minimum length. Another big operating systems ignores such garbage. Signed-off-by: NOliver Neukum <oneukum@suse.de> CC: stable@vger.kernel.org Reviewed-by: NAdam Lee <adam8157@gmail.com> Tested-by: NAdam Lee <adam8157@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录