mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-17 02:15:02 +00:00
![]() If a button device fails to probe, it will still be added to the uclass
device list, and therefore will still be iterated over in
button_read_keys() resulting in a UAF on the buttons private data.
Resolve this by unbinding button devices that aren't active after
probing, and print a warning so it's clear that the button is broken.
Fixes:
|
||
---|---|---|
.. | ||
apple_spi_kbd.c | ||
button_kbd.c | ||
cros_ec_keyb.c | ||
i8042.c | ||
input.c | ||
Kconfig | ||
key_matrix.c | ||
keyboard-uclass.c | ||
Makefile | ||
tegra-kbc.c | ||
twl4030.c |