[PATCH] ntdll: Fix find_free_area outside of reserved areas with zero_bits != 0.
rbernon at codeweavers.com
Mon Nov 4 09:24:44 CST 2019
On 11/4/19 4:15 PM, Rémi Bernon wrote:
> + if ((char *)end - (char *)start < step || (char *)start - (char *)base < step)
> + break;
I should probably check the sign of step and choose one of the two
conditions here instead. Trying to do everything at once like this stops
the iterations when base == start and step > 0 for instance. Or it
should be base - start > step. I'll fix that.
Rémi Bernon <rbernon at codeweavers.com>
More information about the wine-devel