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

Skip to content
Commit 49cd43d0 authored by Subash Abhinov Kasiviswanathan's avatar Subash Abhinov Kasiviswanathan Committed by Gerrit - the friendly Code Review server
Browse files

soc: qmi: dfc: Fix use after free in dfc_svc_init



This change fixes a use after free issue when cleanup is triggered
before dfc client init is completed.
A check is added to both qmi_rmnet_has_client and
qmi_rmnet_has_pending to prevent qmi and port being freed before
the second dfc client is deleted.

Change-Id: I6e37c8e77cee745fabd376f38f0384f364abe5e7
Acked-by: default avatarNing Cai <ncai@qti.qualcomm.com>
Signed-off-by: default avatarSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
parent 03cafa97
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