mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[SMSS2]
- Fix an uninitialized variable usage, CID 15345 - Fix an incorrect sizeof usage, CID 15317 svn path=/trunk/; revision=55804
This commit is contained in:
@@ -1977,7 +1977,7 @@ NTSTATUS
|
||||
NTAPI
|
||||
SmpProcessFileRenames(VOID)
|
||||
{
|
||||
BOOLEAN OldState, HavePrivilege;
|
||||
BOOLEAN OldState, HavePrivilege = FALSE;
|
||||
NTSTATUS Status;
|
||||
HANDLE FileHandle, OtherFileHandle;
|
||||
FILE_INFORMATION_CLASS InformationClass;
|
||||
|
||||
@@ -317,7 +317,7 @@ SmpLoadSubSystem(IN PUNICODE_STRING FileName,
|
||||
/* This is the POSIX or OS/2 subsystem process, copy its information */
|
||||
RtlCopyMemory(&CreateSession->ProcessInfo,
|
||||
&ProcessInformation,
|
||||
sizeof(&CreateSession->ProcessInfo));
|
||||
sizeof(CreateSession->ProcessInfo));
|
||||
|
||||
/* Not sure these field mean what I think they do -- but clear them */
|
||||
*(PULONGLONG)&CreateSession->ClientId = 0;
|
||||
|
||||
Reference in New Issue
Block a user