mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:02:20 +00:00
7dd08a0b41
The "*cmd" variable can be controlled by the user via debugfs. That means
"new_cam" can be as high as 255 while the size of the uc->updated[] array
is UCSI_MAX_ALTMODES (30).
The call tree is:
ucsi_cmd() // val comes from simple_attr_write_xsigned()
-> ucsi_send_command()
-> ucsi_send_command_common()
-> ucsi_run_command() // calls ucsi->ops->sync_control()
-> ucsi_ccg_sync_control()
Fixes:
|
||
---|---|---|
.. | ||
altmodes | ||
mux | ||
tcpm | ||
tipd | ||
ucsi | ||
anx7411.c | ||
bus.c | ||
bus.h | ||
class.c | ||
class.h | ||
hd3ss3220.c | ||
Kconfig | ||
Makefile | ||
mux.c | ||
mux.h | ||
pd.c | ||
pd.h | ||
port-mapper.c | ||
retimer.c | ||
retimer.h | ||
rt1719.c | ||
stusb160x.c | ||
wusb3801.c |