commit | b067f4751548b3076945806e4d836397a7b7bb99 | [log] [tgz] |
---|---|---|
author | Xiaoyu Ye <benyxy@codeaurora.org> | Fri Jul 31 09:09:08 2020 -0700 |
committer | Xiaoyu Ye <benyxy@codeaurora.org> | Tue Aug 04 05:42:26 2020 -0700 |
tree | ef09a20cfffd3b6f1938c16f5fcddffd557d6837 | |
parent | 9ebfde47d710298f94bf1f56b2537ee2f3435fe8 [diff] |
st-hal: Fix potential NULL pointer dereference In function update_hw_config_on_start, pointer conf_levels could be used without allocating memory or assigning valid address. This could cause a potential NULL pointer dereference. Check conf_levels against NULL before using it. Change-Id: I2bd3257a7dddaaa2ac2ca869b269c069ff655af3