Files
linux/drivers
Johan Hovold e916f1d618 Input: yealink - validate number of endpoints before using them
commit 5cc4a1a9f5 upstream.

Make sure to check the number of endpoints to avoid dereferencing a
NULL-pointer should a malicious device lack endpoints.

Fixes: aca951a22a ("[PATCH] input-driver-yealink-P1K-usb-phone")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-30 09:35:15 +02:00
..
2017-03-12 06:37:27 +01:00
2017-03-26 12:13:18 +02:00
2017-03-26 12:13:18 +02:00
2016-09-24 10:07:35 +02:00
2017-03-26 12:13:19 +02:00
2017-03-12 06:37:24 +01:00
2017-01-12 11:22:47 +01:00
2017-02-23 17:43:10 +01:00
2016-11-26 09:54:53 +01:00