[NTOS:MM]

- Fix list walk in MmGetSessionById

svn path=/trunk/; revision=71161
This commit is contained in:
Thomas Faber 2016-04-15 18:30:18 +00:00
parent 60f5fc07fc
commit 9313bf7d63

View file

@ -1053,6 +1053,7 @@ MmGetSessionById(
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)