mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 12:26:09 +00:00
[NTOS]: If the address space is exhausted, don't ASSERT, simply return failure just as Windows does. Should fix the last of the ASSERTions on TestBot.
Next step is to support VirtualProtect/Query correctly. svn path=/trunk/; revision=55991
This commit is contained in:
parent
83a2328786
commit
9bb1ba5ee4
1 changed files with 1 additions and 1 deletions
|
@ -3345,7 +3345,7 @@ NtAllocateVirtualMemory(IN HANDLE ProcessHandle,
|
|||
&Process->VadRoot,
|
||||
(PMMADDRESS_NODE*)&Process->VadFreeHint,
|
||||
&StartingAddress);
|
||||
ASSERT(NT_SUCCESS(Status));
|
||||
if (!NT_SUCCESS(Status)) goto FailPath;
|
||||
|
||||
//
|
||||
// Now we know where the allocation ends. Make sure it doesn't end up
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue