zephyr/drivers/input
Daniel DeGrasse 4658ed5652 drivers: input: input_gt911: fix OOB buffer write to touch points array
GT911 driver was reading an additional touch point into the stack
defined touch point array, causing an out-of-bounds write on the stack.
Fix this issue by adjusting the limit on the for loop, and add a note
to the driver as to why we don't need to validate the number of points
reported for future developers

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-09-06 10:13:14 -05:00
..
CMakeLists.txt
Kconfig
Kconfig.adc_keys
Kconfig.analog_axis
Kconfig.cap1203
Kconfig.cf1133
Kconfig.chsc6x
Kconfig.cst816s
Kconfig.esp32
Kconfig.evdev
Kconfig.ft5336
Kconfig.gpio_kbd_matrix
Kconfig.gpio_keys
Kconfig.gpio_qdec
Kconfig.gt911
Kconfig.it8xxx2
Kconfig.kbd_matrix
Kconfig.npcx
Kconfig.pat912x
Kconfig.paw32xx
Kconfig.pinnacle
Kconfig.pmw3610
Kconfig.sbus
Kconfig.sdl
Kconfig.stmpe811
Kconfig.touch
Kconfig.xec
Kconfig.xpt2046
input_adc_keys.c
input_analog_axis.c
input_analog_axis_settings.c
input_cap1203.c
input_cf1133.c
input_chsc6x.c
input_cst816s.c
input_esp32_touch_sensor.c
input_ft5336.c
input_gpio_kbd_matrix.c
input_gpio_keys.c
input_gpio_qdec.c
input_gt911.c
input_ite_it8xxx2_kbd.c
input_kbd_matrix.c
input_npcx_kbd.c
input_pat912x.c
input_paw32xx.c
input_pinnacle.c
input_pmw3610.c
input_sbus.c
input_sdl_touch.c
input_sdl_touch_bottom.c
input_sdl_touch_bottom.h
input_stmpe811.c
input_touch.c
input_xec_kbd.c
input_xpt2046.c
linux_evdev.c
linux_evdev_bottom.c
linux_evdev_bottom.h