mirror of
https://github.com/reactos/reactos.git
synced 2024-09-29 22:16:01 +00:00
[NTOS:MM]
- Fix list walk in MmGetSessionById svn path=/trunk/; revision=71161
This commit is contained in:
parent
60f5fc07fc
commit
9313bf7d63
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue