[2/3] ntdll: Use PAGE_READWRITE access when resolving DLL imports.

Dmitry Timoshkov dmitry at baikal.ru
Thu Nov 3 05:10:37 CDT 2011

Alexandre Julliard <julliard at winehq.org> wrote:

> What I mean is that if the old protection contains WRITECOPY, you won't
> be able to restore it correctly since you are going to make
> NtProtectVirtualMemory reject that.

I see. I think that a failure to restore WRITECOPY protection could be safely
ignored. My investigation shows that a section with import thunks that would
have WRITECOPY protection if it wouldn't contain import data has READWRITE
protection after the DLL is loaded.


More information about the wine-devel mailing list