Commit 7bfe6c43 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

ntdll: Return a more reasonable value for "Reserved3".

The value is based on 64-bit Win 7, the main thing we care about is that it's not 0.
parent be73cb70
......@@ -1320,6 +1320,8 @@ NTSTATUS WINAPI NtQuerySystemInformation(
memset(&spi, 0 , sizeof(spi));
len = sizeof(spi);
spi.Reserved3 = 0x7fffffff; /* Available paged pool memory? */
if (Length >= len)
{
if (!SystemInformation) ret = STATUS_ACCESS_VIOLATION;
......
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