Skip to content
Commit 3c518166 authored by Mishra Mahima's avatar Mishra Mahima Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: Increase fbmem buf ref count before use



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.

Change-Id: I525d41e5496a1123e53a438b5f78d4da8bc046bd
Signed-off-by: default avatarJayant Shekhar <jshekhar@codeaurora.org>
Signed-off-by: default avatarMishra Mahima <mahima@codeaurora.org>
parent cbe1ad31
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