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

Skip to content
Commit 6f133308 authored by Trishansh Bhardwaj's avatar Trishansh Bhardwaj Committed by Alok Chauhan
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>
Signed-off-by: default avatarAlok Chauhan <alokc@codeaurora.org>
parent c88445d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment