linux-stable/drivers/input
Arnd Bergmann b003b8c15c Input: ims-pcu - fix printf string overflow
[ Upstream commit bf32bceedd ]

clang warns about a string overflow in this driver

drivers/input/misc/ims-pcu.c:1802:2: error: 'snprintf' will always be truncated; specified size is 10, but format string expands to at least 12 [-Werror,-Wformat-truncation]
drivers/input/misc/ims-pcu.c:1814:2: error: 'snprintf' will always be truncated; specified size is 10, but format string expands to at least 12 [-Werror,-Wformat-truncation]

Make the buffer a little longer to ensure it always fits.

Fixes: 628329d524 ("Input: add IMS Passenger Control Unit driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20240326223825.4084412-7-arnd@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-12 11:12:36 +02:00
..
gameport
joystick Input: xpad - add support for ASUS ROG RAIKIRI 2024-06-12 11:11:27 +02:00
keyboard Input: gpio_keys_polled - suppress deferred probe error for gpio 2024-03-26 18:19:15 -04:00
misc Input: ims-pcu - fix printf string overflow 2024-06-12 11:12:36 +02:00
mouse Input: psmouse - enable Synaptics InterTouch for ThinkPad L14 G1 2024-01-20 11:51:43 +01:00
rmi4 Input: synaptics-rmi4 - fail probing if memory allocation for "phys" fails 2024-04-13 13:07:33 +02:00
serio Input: i8042 - add Fujitsu Lifebook U728 to i8042 quirk table 2024-03-01 13:34:53 +01:00
tablet
tests
touchscreen Input: imagis - use FIELD_GET where applicable 2024-04-13 13:07:37 +02:00
apm-power.c
evbug.c
evdev.c
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-core-private.h
input-leds.c
input-mt.c
input-poller.c
input-poller.h
input.c Input: try trimming too long modalias strings 2024-06-12 11:11:18 +02:00
joydev.c
Kconfig
Makefile
matrix-keymap.c
mousedev.c
sparse-keymap.c
touchscreen.c
vivaldi-fmap.c