commit | 20c315ebabc5a63b0bb169ddd60455ee0b70633e | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oneukum@suse.com> | Thu Nov 23 16:39:52 2017 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Dec 09 22:01:57 2017 +0100 |
tree | 2d85cbbad271e404d8696ca1fc589614b680a8be | |
parent | 545c10375330c9212227a6a7efd84f49ccd6c9b2 [diff] |
USB: usbfs: Filter flags passed in from user space commit 446f666da9f019ce2ffd03800995487e79a91462 upstream. USBDEVFS_URB_ISO_ASAP must be accepted only for ISO endpoints. Improve sanity checking. Reported-by: Andrey Konovalov <andreyknvl@google.com> Signed-off-by: Oliver Neukum <oneukum@suse.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>