WSL2-Linux-Kernel/drivers/hsi
Chengfeng Ye a1ee1c08fc HSI: core: Fix return freed object in hsi_new_client
cl is freed on error of calling device_register, but this
object is return later, which will cause uaf issue. Fix it
by return NULL on error.

Signed-off-by: Chengfeng Ye <cyeaa@connect.ust.hk>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
2021-11-26 00:27:06 +01:00
..
clients HSI changes for the 5.16 series 2021-11-04 13:56:55 -07:00
controllers HSI: Fix PM usage counter unbalance in ssi_hw_init 2020-12-29 23:57:06 +01:00
Kconfig
Makefile
hsi_boardinfo.c
hsi_core.c HSI: core: Fix return freed object in hsi_new_client 2021-11-26 00:27:06 +01:00
hsi_core.h