[Bug 37669] Resetting a write watch can cause memory access violation in kernel

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Dec 4 02:52:28 CST 2014


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

--- Comment #3 from Dmitry Timoshkov <dmitry at baikal.ru> ---
(In reply to Sebastian Lackner from comment #2)
> If I understand you correctly we already have a patch for that:
> https://github.com/wine-compholio/wine-staging/blob/master/patches/ws2_32-
> WriteWatches/0001-ws2_32-Avoid-race-conditions-of-async-WSARecv-operat.patch

That patch fixes the problem, thanks. I have another workaround though:
allocate a temporary buffer of the same size as passed to ws2_32 and use
it for the recvmsg call, then just copy it to the application provided one.

-- 
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