From: Alan Cox Date: Mon, 13 Oct 2008 09:45:17 +0000 (+0100) Subject: applicom: Fix an unchecked user ioctl range and an error return X-Git-Tag: v2.6.27.9~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c832f62d3d057abfc1125621c80ede5840cf7aef;p=pandora-kernel.git applicom: Fix an unchecked user ioctl range and an error return commit a7be18d436f0c7007794965e5af29fa1ffff1e05 upstream. Closes bug #11408 by checking the card index range for command 0 Fixes the ioctl to return ENOTTY which is correct for unknown ioctls Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed