ntdll: Start find_free_area from address_space_start instead of 0.
commit5eca6ffa8b392ac852324a5be3cc88d8e60197a8
authorRémi Bernon <rbernon@codeweavers.com>
Thu, 26 Dec 2019 21:27:28 +0000 (26 22:27 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 27 Dec 2019 10:11:19 +0000 (27 11:11 +0100)
tree1072862907e6eee9224df9ad8978c2ad2c6e6168
parent1a44ef32379039f7d0d828d9d190aa94da02b1ee
ntdll: Start find_free_area from address_space_start instead of 0.

The search was initiated with base == 0, which returns NULL immediately
if MEM_TOP_DOWN is not used. Use address_space_start instead.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47974
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/ntdll/virtual.c