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

Skip to content
Commit 4cadc0e7 authored by Hardik Arya's avatar Hardik Arya Committed by Gerrit - the friendly Code Review server
Browse files

diag: Synchronize socket read_work_fn and close



Currently there is a possibility of NULL pointer dereference
because of synchronization is missing in socket read_work_fn
and close. The patch adds mutex protection to fix this issue.

Change-Id: I82f9907dd233e8cb5811cc380e4813b6541a5420
Signed-off-by: default avatarHardik Arya <harya@codeaurora.org>
parent c70d0ba0
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