android_kernel_motorola_sm6375/drivers/input
Repository files (latest commit first)
Filename Latest commit message Latest commit date
José Expósito 5525d80dc9 Input: atmel_mxt_ts - fix double free in mxt_read_info_block
commit 12f247ab590a08856441efdbd351cf2cc8f60a2d upstream.

The "id_buf" buffer is stored in "data->raw_info_block" and freed by
"mxt_free_object_table" in case of error.

Return instead of jumping to avoid a double free.

Addresses-Coverity-ID: 1474582 ("Double free")
Fixes: 068bdb67ef ("Input: atmel_mxt_ts - fix the firmware update")
Signed-off-by: José Expósito <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: [email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2021-12-29 12:23:36 +01:00
..
gameport
joystick Input: iforce - fix control-message timeout 2021-11-17 09:48:16 +01:00
keyboard Input: snvs_pwrkey - add clk handling 2021-10-27 09:54:29 +02:00
misc Input: cm109 - do not stomp on control URB 2020-12-16 10:56:57 +01:00
mouse Input: elantech - fix stack out of bound access in elantech_change_report_id() 2021-12-29 12:23:35 +01:00
rmi4
serio Input: i8042 - Add quirk for Fujitsu Lifebook T725 2021-11-17 09:48:17 +01:00
tablet
touchscreen Input: atmel_mxt_ts - fix double free in mxt_read_info_block 2021-12-29 12:23:36 +01:00
apm-power.c
evbug.c
evdev.c
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-leds.c
input-mt.c
input-polldev.c
input-poller.c
input-poller.h
input.c
joydev.c Input: joydev - prevent use of not validated data in JSIOCSBTNMAP ioctl 2021-07-14 16:53:02 +02:00
Kconfig
Makefile
matrix-keymap.c
mousedev.c
sparse-keymap.c