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
Loading
Please register or sign in to comment