aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/media/usb/dvb-usb
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2020-01-03 17:35:08 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-02-24 16:23:28 +0100
commitbca243b1ce0e46be26f7c63b5591dfbb41f558e5 (patch)
treeacb14035e16669d5e02c0541f3b3d991a1dc8d0d /drivers/media/usb/dvb-usb
parentmedia: rcar-vin: Add support for V4L2_FIELD_SEQ_{TB,BT} (diff)
downloadwireguard-linux-bca243b1ce0e46be26f7c63b5591dfbb41f558e5.tar.xz
wireguard-linux-bca243b1ce0e46be26f7c63b5591dfbb41f558e5.zip
media: flexcop-usb: fix endpoint sanity check
commit 1b976fc6d684 ("media: b2c2-flexcop-usb: add sanity checking") added an endpoint sanity check to address a NULL-pointer dereference on probe. Unfortunately the check was done on the current altsetting which was later changed. Fix this by moving the sanity check to after the altsetting is changed. Fixes: 1b976fc6d684 ("media: b2c2-flexcop-usb: add sanity checking") Cc: Oliver Neukum <oneukum@suse.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/usb/dvb-usb')
0 files changed, 0 insertions, 0 deletions