Skip to content
Commit 691260fc authored by MingShu Pang's avatar MingShu Pang Committed by Gerrit - the friendly Code Review server
Browse files

agm: use list_for_each_safe instead of list_for_each

use-after-free can happen after removing it in
session_close if we directly use node->next.
use list_for_each_safe instead of list_for_each.

Change-Id: I81cf255f026c3c5da2d472c356fc01abf1a37bef
parent 21351394
Please register or to comment