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

Skip to content
Commit 42492609 authored by Trishansh Bhardwaj's avatar Trishansh Bhardwaj
Browse files

msm: camera: crm: Fix use-after-free for link



CRM gets link pointer from device private data and accesses it.
There is a chance that pointer gets deallocated while CRM is accessing
it. Static allocated memory will prevent use-after-free.

Change-Id: Ic339f0e569d2294a5adce14c8218cd55172d1ff9
Signed-off-by: default avatarTrishansh Bhardwaj <tbhardwa@codeaurora.org>
parent ce75eabb
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