Commit 0374d86c authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Ignore the preload start address if it is zero.

parent fb8226f6
......@@ -1597,7 +1597,8 @@ void virtual_init(void)
preload_reserve_start = (void *)start;
preload_reserve_end = (void *)end;
/* some apps start inside the DOS area */
address_space_start = min( address_space_start, preload_reserve_start );
if (preload_reserve_start)
address_space_start = min( address_space_start, preload_reserve_start );
}
}
......
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