- Fix list walk in MmGetSessionById
svn path=/trunk/; revision=71161
while (ListEntry != &MiSessionWsList)
{
Session = CONTAINING_RECORD(ListEntry, MM_SESSION_SPACE, WsListEntry);
while (ListEntry != &MiSessionWsList)
{
Session = CONTAINING_RECORD(ListEntry, MM_SESSION_SPACE, WsListEntry);
+ ListEntry = ListEntry->Flink;
/* Check if this is the session we are looking for */
if (Session->SessionId == SessionId)
/* Check if this is the session we are looking for */
if (Session->SessionId == SessionId)