commit | 691260fcf5f41f8af107fdd5fa54c8362c42745c | [log] [tgz] |
---|---|---|
author | MingShu Pang <quic_mpang@quicinc.com> | Fri Oct 21 14:27:45 2022 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Oct 27 02:03:13 2022 -0700 |
tree | 85c9e278c17bef0cb38251a8ec6f084c722329e1 | |
parent | 21351394b8ab9475b7389453bbcd351ba579e4b9 [diff] |
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