Commit 057e6c0a authored by Archana Sriram's avatar Archana Sriram Committed by Shrirang Bagul
Browse files

msm: kgsl: Correct the refcount on current process PID

BugLink: https://bugs.launchpad.net/bugs/1931727



In kgsl_process_private_new() function there is inconsistency
in the refcount of current process PID. Fix this to avoid
overflowing of reference counter leading to use after free
of this struct.

Change-Id: I6291b9a05e139337e7f8471d0f9409fc839969a3
Signed-off-by: default avatarArchana Sriram <apsrir@codeaurora.org>
(cherry picked from commit bbf5735f34901952a87b2cbe557564325d755c38)
Signed-off-by: default avatarShrirang Bagul <shrirang.bagul@canonical.com>
parent 7713bb80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment