summaryrefslogtreecommitdiff
path: root/kernel/locking/mutex-debug.c
diff options
context:
space:
mode:
authorJayant Shekhar <jshekhar@codeaurora.org>2017-06-22 11:46:47 +0530
committerJayant Shekhar <jshekhar@codeaurora.org>2017-06-22 11:46:47 +0530
commitec3a993112ebb1c40d4a6b88f46e761dc196f45d (patch)
tree9b0c8add740ce6bf0b8e8a002fb2f2c2541e8695 /kernel/locking/mutex-debug.c
parent560a996da5c0bf398d2fba51e9909cd7323afea8 (diff)
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: Jayant Shekhar <jshekhar@codeaurora.org>
Diffstat (limited to 'kernel/locking/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions