Skip to content
Commit d107eb6a authored by Krishna Manikandan's avatar Krishna Manikandan Committed by Nirmal Abraham
Browse files

disp: msm: sde: add null check for drm file in msm_release



Drm file is not set to NULL after freeing it from drm
release. This can result in use-after-free issues in
some scenarios. Add a mutex lock and other proper null
checks to prevent such issues.

Change-Id: Ic35b0a76166b0f47a354b1737e6f4c3ac1437ed4
Signed-off-by: default avatarNirmal Abraham <nabrah@codeaurora.org>
parent e8e7356f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment