Commit 6257da8b authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

ntdll: Don't check "info" for NULL in NtQuerySystemInformation(SystemModuleInformation).

parent 93107c08
......@@ -2333,9 +2333,6 @@ NTSTATUS WINAPI NtQuerySystemInformation( SYSTEM_INFORMATION_CLASS class,
"\\SystemRoot\\system32\\drivers\\mountmgr.sys"
};
if (!info) ret = STATUS_ACCESS_VIOLATION;
else
{
ULONG i;
SYSTEM_MODULE_INFORMATION *smi = info;
......@@ -2356,7 +2353,7 @@ NTSTATUS WINAPI NtQuerySystemInformation( SYSTEM_INFORMATION_CLASS class,
smi->ModulesCount = i;
}
else ret = STATUS_INFO_LENGTH_MISMATCH;
}
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment