summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.modinst
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2012-08-17 21:43:43 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-18 02:55:46 +0200
commit99f347caa4568cb803862730b3b1f1942639523f (patch)
treeeea4cff2cddd658d93beca0a46f31be807b8b3fa /scripts/Makefile.modinst
parentUSB: emi62: remove __devinit* from the struct usb_device_id table (diff)
downloadlinux-99f347caa4568cb803862730b3b1f1942639523f.tar.xz
linux-99f347caa4568cb803862730b3b1f1942639523f.zip
USB: CDC ACM: Fix NULL pointer dereference
If a device specifies zero endpoints in its interface descriptor, the kernel oopses in acm_probe(). Even though that's clearly an invalid descriptor, we should test wether we have all endpoints. This is especially bad as this oops can be triggered by just plugging a USB device in. Signed-off-by: Sven Schnelle <svens@stackframe.org> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.modinst')
0 files changed, 0 insertions, 0 deletions