[Bug 52023] VirtualFree returning error when it should not

WineHQ Bugzilla wine-bugs at winehq.org
Thu Nov 18 16:58:11 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=52023

--- Comment #3 from Javier <elpochodelagente at gmail.com> ---
Sorry if my description was confusing. The test frees (decommits but doesn't
release, so it's still reserved but not accessible) a memory region and then
tries to read from it, so it should segfault. On windows it crashes, as
expected. In wine VirtualFree fails, doesn't free the memory and the read
doesn't crash.

The main problem is that VirtualFree shouldn't have failed, the memory should
have been decommited.

If the test crashes on wine, it means you are not able to reproduce the
problem, maybe this depends on the implementation of mmap or the kernel
version. I'm running Ubuntu 20.04, linux 5.11.0-40-generic.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list