commit | 5fb6b9bb48a37b9b1203bde52791ed03257b6301 | [log] [tgz] |
---|---|---|
author | Sachin Bhayare <sachin.bhayare@codeaurora.org> | Thu Apr 12 18:57:52 2018 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Apr 12 06:38:25 2018 -0700 |
tree | 42e3ec0ef3bc238aaf138e33c2ae1347440b5b29 | |
parent | ddbece736c203200264c6f7fcd66a0ee7e5a4af6 [diff] |
msm: mdss: Increase fbmem buf ref count before use in mdp3 The reference count for fbmem buf is not increased before use, which means it can be get freed unintentionally when the reference count is decreased to "0". In this case, there is possibility of use after free. Ensure that fbmem buf refcount is incremented before use mdp3 driver. Change-Id: I38787c27a26ae550c6fb28697a7583490ad19df8 Signed-off-by: Sachin Bhayare <sachin.bhayare@codeaurora.org>