original_kernel/drivers/input/misc
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: aca951a22a ("[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
..
88pm80x_onkey.c
88pm860x_onkey.c
Kconfig
Makefile
ab8500-ponkey.c
ad714x-i2c.c
ad714x-spi.c
ad714x.c
ad714x.h
adxl34x-i2c.c
adxl34x-spi.c
adxl34x.c
adxl34x.h
apanel.c
arizona-haptics.c
ati_remote2.c
atlas_btns.c
atmel_captouch.c
axp20x-pek.c
bfin_rotary.c
bma150.c
cm109.c
cma3000_d0x.c
cma3000_d0x.h
cma3000_d0x_i2c.c
cobalt_btns.c
da9052_onkey.c
da9055_onkey.c
da9063_onkey.c
dm355evm_keys.c
drv260x.c
drv2665.c
drv2667.c
e3x0-button.c
gp2ap002a00f.c
gpio-beeper.c
gpio_decoder.c
gpio_tilt_polled.c
hisi_powerkey.c
hp_sdc_rtc.c
ideapad_slidebar.c
ims-pcu.c
ixp4xx-beeper.c
keyspan_remote.c
kxtj9.c
m68kspkr.c
max8925_onkey.c
max8997_haptic.c
max77693-haptic.c
mc13783-pwrbutton.c
mma8450.c
palmas-pwrbutton.c
pcap_keys.c
pcf8574_keypad.c
pcf50633-input.c
pcspkr.c
pm8xxx-vibrator.c
pm8941-pwrkey.c
pmic8xxx-pwrkey.c
powermate.c
pwm-beeper.c
rb532_button.c
regulator-haptic.c
retu-pwrbutton.c
rotary_encoder.c
sgi_btns.c
sirfsoc-onkey.c
soc_button_array.c
sparcspkr.c
tps65218-pwrbutton.c
twl4030-pwrbutton.c
twl4030-vibra.c
twl6040-vibra.c
uinput.c
wistron_btns.c
wm831x-on.c
xen-kbdfront.c
yealink.c Input: yealink - validate number of endpoints before using them 2017-03-16 13:56:52 -07:00
yealink.h