commit | 768ec57eb66c709519e20fd9895f597f6e24095e | [log] [tgz] |
---|---|---|
author | Krishna Manikandan <mkrishn@codeaurora.org> | Thu Jul 08 11:17:16 2021 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Wed Aug 11 04:07:43 2021 -0700 |
tree | 24ca4e2b335c1c82202751141f754cb21d084c10 | |
parent | e265d46203a6a01abb9824933dee5641f4aff428 [diff] |
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: Nirmal Abraham <nabrah@codeaurora.org> Signed-off-by: Althaf Neelanchirayil <aneelanc@codeaurora.org> Signed-off-by: vbejawad <vbejawad@codeaurora.org>