No subject


Tue Mar 17 14:04:44 CDT 2009


Wine should allow this to succeed.

I found at two occurrences of NtMapViewOfSection() which cause Xenocode to fail
due to NTSTATUS "STATUS_IMAGE_NOT_AT_BASE":

dlls/kernel32/virtual.c:MapViewOfFileEx 
dlls/ntdll/loader.c:load_native_dll

Although there are more occurrences of this idiom in Wine source tree, only
these two seem relevant to Xenocode (due to hooks).

Either honour STATUS_IMAGE_NOT_AT_BASE when NtMapViewOfSection() is called in
these two locations or make a generic check >= 0 because non-negative numbers
usually indicate success from my understanding of NTSTATUS.

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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