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

Skip to content
Commit 90ab29b6 authored by Anver sadhique's avatar Anver sadhique Committed by Gerrit - the friendly Code Review server
Browse files

hal: use list_for_each_safe instead of list_for_each

NULL pointer dereference issue observed for 'node'
during traverse the list. use the temp variable store
the next node in the list, which allows for safe
traverse list. use list_for_each_safe instead of list_for_each.

Change-Id: Id8df671b391716022a25d4fa20c875820fb3f3f2
parent 65e27cbc
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