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

Commit 582933d0 authored by Maheshwar Ajja's avatar Maheshwar Ajja
Browse files

msm: vidc: Fix use-after-free memory failure



If video core initialization failed then video driver is getting
the first instance from core->instances.list in locked context
and calling msm_comm_print_debug_info() after unlock where the
instance info will be printed, but after unlock the instance
may be free'd by other client threads which raises use-after-free
memory issue. Resolve the issue by removing call to function
msm_comm_print_debug_info() as core initialization failure
will call msm_comm_generate_sys_error() later which will print
instance info in locked context.

CRs-Fixed: 2075773
Change-Id: I0bf6caab9641c0ee54e3d9e909e5eb95293fbfda
Signed-off-by: default avatarMaheshwar Ajja <majja@codeaurora.org>
parent 70be28c9
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