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

Skip to content
Commit af2a9811 authored by Aniket Kumar Lata's avatar Aniket Kumar Lata
Browse files

hal: Fix use-after-free in clear_devices

For removing and freeing objects during list iteration,
use list_for_each_safe which prevents use-after-free
vulnerability.

CRs-Fixed: 2648712
Change-Id: Ibecc08e16f009feb585f510a7b0cc3bb8957897b
parent 20c978ad
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