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

Commit bd916a82 authored by Sathish Ambley's avatar Sathish Ambley
Browse files

msm: ADSPRPC: Check for valid file list node



Ensure that the file list node retrieved from the list is valid
before it is accessed.

Change-Id: Ic43243c309f0fac1bcfbcaaa0ec2527d96938cd4
Signed-off-by: default avatarSathish Ambley <sathishambley@codeaurora.org>
parent 84245dfb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1854,6 +1854,7 @@ static void file_free_work_handler(struct work_struct *w)
			break;
		}
		mutex_unlock(&me->flfree_mutex);
		if (freefl)
			fastrpc_file_free(freefl->fl);
		mutex_lock(&me->flfree_mutex);