diff options
author | Alan Cox <alan@redhat.com> | 2008-10-13 11:45:17 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-13 18:51:44 +0200 |
commit | a7be18d436f0c7007794965e5af29fa1ffff1e05 (patch) | |
tree | 4675ce7e3a5255108bf1d9c7f4ec4507592d50b7 /drivers/serial/8250.c | |
parent | tty: Minor tidyups and document fixes for n_tty (diff) | |
download | linux-a7be18d436f0c7007794965e5af29fa1ffff1e05.tar.xz linux-a7be18d436f0c7007794965e5af29fa1ffff1e05.zip |
applicom: Fix an unchecked user ioctl range and an error return
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>
Diffstat (limited to 'drivers/serial/8250.c')
0 files changed, 0 insertions, 0 deletions