lsm: fix potential Null pointer dereference
Pointer "ptr_info_v2" in function msm_lsm_ioctl may be
dereferenced when it's Null. Add a local structure
"info_v2" to avoid this potential Null pointer dereference.
Change-Id: Iabf5c3b1017b4a44b924c80e4d8e6f2c3d2d5f57
Signed-off-by:
Xiaoyu Ye <benyxy@codeaurora.org>
Loading
Please register or sign in to comment