http://bugs.winehq.org/show_bug.cgi?id=59814 Stian Low <wineryyyyy@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wineryyyyy@gmail.com --- Comment #1 from Stian Low <wineryyyyy@gmail.com> --- Recently encountered similar fixme:cryptasn logs/blockers for Battle.net which wine-staging seems to workaround: https://bugs.winehq.org/show_bug.cgi?id=59631#c17 https://gitlab.winehq.org/wine/wine-staging/-/blob/master/patches/ntdll-WRIT... description: fix incorrect handling of WRITECOPY memory protection forwarded: yes author: Fabian Maurer origin: https://bugs.winehq.org/show_bug.cgi?id=29384#c56 --- a/dlls/kernelbase/memory.c +++ b/dlls/kernelbase/memory.c @@ -481,7 +481,9 @@ BOOL WINAPI DECLSPEC_HOTPATCH VirtualLo */ BOOL WINAPI DECLSPEC_HOTPATCH VirtualProtect( void *addr, SIZE_T size, DWORD new_prot, DWORD *old_prot ) { - return VirtualProtectEx( GetCurrentProcess(), addr, size, new_prot, old_prot ); + BOOL ret = VirtualProtectEx( GetCurrentProcess(), addr, size, new_prot, old_prot ); + if (*old_prot == PAGE_WRITECOPY) *old_prot = PAGE_READWRITE; + return ret; } Maybe it also fixes MS Office 2010. -- 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.