Skip to content
Commit a7be18d4 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds
Browse files

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: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 17b82060
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment