Commit 79fb59e2 authored by Billy Laws's avatar Billy Laws Committed by Alexandre Julliard

ntdll: Allocate wow64 environment block within the 32-bit address space.

parent 469a4837
...@@ -1815,7 +1815,7 @@ static void *build_wow64_parameters( const RTL_USER_PROCESS_PARAMETERS *params ) ...@@ -1815,7 +1815,7 @@ static void *build_wow64_parameters( const RTL_USER_PROCESS_PARAMETERS *params )
+ ((params->RuntimeInfo.MaximumLength + 1) & ~1) + ((params->RuntimeInfo.MaximumLength + 1) & ~1)
+ params->EnvironmentSize); + params->EnvironmentSize);
status = NtAllocateVirtualMemory( NtCurrentProcess(), (void **)&wow64_params, 0, &size, status = NtAllocateVirtualMemory( NtCurrentProcess(), (void **)&wow64_params, limit_2g - 1, &size,
MEM_COMMIT, PAGE_READWRITE ); MEM_COMMIT, PAGE_READWRITE );
assert( !status ); assert( !status );
......
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