mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 11:01:01 +02:00
When MAP_FIXED is used, if it was larger than the VMA region it was trying to fit in to, then it would overallocate, corruption memory adjacent to the VMA region. This was due to a typo in the LiveRegion range checking. Fix the typo, add a unittest that tries to overallocate space. Would assert out without this bug fix.