[Bug 42377] WSASend() returns invalid number of bytes when both lpOverlapped and lpNumberOfBytesSent

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Feb 9 08:33:57 CST 2017


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

Sebastian Lackner <sebastian at fds-team.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|sebastian at fds-team.de       |wine-bugs at winehq.org

--- Comment #14 from Sebastian Lackner <sebastian at fds-team.de> ---
(In reply to Sebastian Lackner from comment #13)
> I believe this issue is wine-staging specific. More details about my
> investigations and a test patch will follow soon. Assigning to me to avoid
> duplicate work by other people. ;)

This should be fixed in Wine Staging 2.1, please retest.

Actually, in contrast to the bug description, the problem was not directly
related to WSASend, but to SetFileCompletionNotificationModes. Previously, Wine
Staging did not keep the settings when a client was accepted (with AcceptEx for
example). The reason why the variables no longer matched is that the
application got confused by completion notifications which were not expected.
Plain Wine was not affected by the problem because the API is not supported
yet.

The patch has been updated and a regression test has been added:
https://github.com/wine-compholio/wine-staging/blob/master/patches/kernel32-SetFileCompletionNotificationModes/0003-ws2_32-tests-Add-test-for-completion-notification-fl.patch

Thanks again for the bug report!

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