Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6b6d0a2 authored by Puranam V G Tejaswi's avatar Puranam V G Tejaswi
Browse files

msm: kgsl: Fix invalid pointer reference at a few places



kgsl_allocate_global can fail for global buffer profile_desc. Hence make
sure that an invalid access to the pointer is not made in
set_user_profiling. Similarly allocations for global buffers setstate and
alwayson can also fail. Make sure we don't access an invalid pointer in
adreno_snapshot_global and kgsl_gpuaddr_in_memdesc.

Change-Id: Ia2f314575c5f4357ac8f7a2a72e869e3c648837d
Signed-off-by: default avatarPuranam V G Tejaswi <pvgtejas@codeaurora.org>
parent bb168a0f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment