From: Oliver Neukum Date: Wed, 28 Jan 2015 10:14:55 +0000 (+0100) Subject: cdc-acm: add sanity checks X-Git-Tag: v3.2.69~198 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b013a6d6593cd1c6a5b8e27b0bd11765b547896;p=pandora-kernel.git 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 Reviewed-by: Adam Lee Tested-by: Adam Lee Signed-off-by: Greg Kroah-Hartman [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed