commit | d79036ab3f26a6de36d3a6b9481a78d810a8f02b | [log] [tgz] |
---|---|---|
author | Harsh Sahu <hsahu@codeaurora.org> | Thu Apr 13 15:38:46 2017 -0700 |
committer | Franz Geiger <franz@fairphone.com> | Thu Jun 22 13:38:38 2017 +0200 |
tree | 1683abbc11a454d53a79c0ca60eb3fd8b5fc808a | |
parent | 40f6996b20994179b6a22f4c6f3c48a187358279 [diff] |
msm: mdss: fix race condition during mdp debugfs release Fix race condition in the release of the mdp debugfs functions panel_debug_base_release and mdss_debug_base_release by adding the lock for unpreempted freeing of the buffer so that multiple concurrent processes cannot affect the release which can possibly lead to use-after-free operation on the buffer. FPIIM-1240 Change-Id: I9586081b65ae2eb0e7f6e30c606ee748ae9ef7e8 Signed-off-by: Harsh Sahu <hsahu@codeaurora.org>