commit | c832f62d3d057abfc1125621c80ede5840cf7aef | [log] [tgz] |
---|---|---|
author | Alan Cox <alan@redhat.com> | Mon Oct 13 10:45:17 2008 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Sat Dec 13 15:29:36 2008 -0800 |
tree | 5ec4fd6260f8f551df619bd352879f404818a14a | |
parent | b1e58876b39029fb4f1b49504ba01f5454428878 [diff] |
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 <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>