Johan Hovold 5cc4a1a9f5 Input: yealink - validate number of endpoints before using them
Make sure to check the number of endpoints to avoid dereferencing a
NULL-pointer should a malicious device lack endpoints.

Fixes: aca951a22a1d ("[PATCH] input-driver-yealink-P1K-usb-phone")
Signed-off-by: Johan Hovold <johan@kernel.org>
Cc: stable@vger.kernel.org	# 2.6.14
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2017-03-16 13:56:52 -07:00
..
2017-01-24 12:37:43 -08:00
2013-12-06 02:06:29 -08:00
2017-01-31 00:18:07 -08:00
2017-01-31 00:18:07 -08:00
2016-05-25 10:40:15 -07:00
2016-10-13 17:25:40 -07:00
2017-01-24 12:37:43 -08:00