Files
android_kernel_xiaomi_sm8450/drivers/input/touchscreen
Yizhuo Zhai 90cd79aa9a Input: hideep - fix the uninitialized use in hideep_nvm_unlock()
[ Upstream commit cac7100d4c51c04979dacdfe6c9a5e400d3f0a27 ]

Inside function hideep_nvm_unlock(), variable "unmask_code" could
be uninitialized if hideep_pgm_r_reg() returns error, however, it
is used in the later if statement after an "and" operation, which
is potentially unsafe.

Signed-off-by: Yizhuo <yzhai003@ucr.edu>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:05:44 +02:00
..
2019-07-15 09:42:32 -07:00
2018-06-24 15:20:12 -07:00
2019-07-15 09:42:32 -07:00
2020-07-07 11:25:54 -07:00
2020-10-04 16:08:09 -07:00
2020-05-17 21:10:28 -07:00
2020-09-16 10:38:58 -07:00