From: Hermès Bélusca-Maïto Date: Sat, 21 Sep 2013 23:21:24 +0000 (+0000) Subject: [NTOS] X-Git-Tag: ReactOS-0.3.16~1247 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=8ffc368a0ce003eb0c285749198b4cb9e361ff64;hp=ba62280d9e389d11bb35c51198ce01cd059539e5;ds=inline [NTOS] Set the session ID to the process' associated PEB (introduced in revision 43476, the code erratically disappeared in revision 57011 when Alex fixed sessions). svn path=/trunk/; revision=60299 --- diff --git a/reactos/ntoskrnl/mm/ARM3/procsup.c b/reactos/ntoskrnl/mm/ARM3/procsup.c index b7b7344e4d2..9a0ae20da46 100644 --- a/reactos/ntoskrnl/mm/ARM3/procsup.c +++ b/reactos/ntoskrnl/mm/ARM3/procsup.c @@ -699,7 +699,7 @@ MmCreatePeb(IN PEPROCESS Process, // // Session ID // - MmGetSessionId(Process); + if (Process->Session) Peb->SessionId = MmGetSessionId(Process); } _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER) {