https://bugs.winehq.org/show_bug.cgi?id=51378
--- Comment #5 from Roman Pišl rpisl@seznam.cz --- So it is a pure coincidence but it is not much surprising as the library is a kind of interceptor. The problem is described in bug 50993 and bug 44893. Looking at Detour, it has similar algorithm in detour_alloc_region_from_lo, detour_alloc_region_from_hi and FindAndAllocateNearBase and for the tests you could start from here.