[PATCH] ws2_32: Copy send buffer data in WS2_ConnectEx().

Paul Gofman pgofman at codeweavers.com
Wed Mar 24 11:16:25 CDT 2021


Hello Jacek,

    thanks, I sent an updated patch.

    Yes, I know asyncs are going to ntdll, but I thought we could still
have that bug fixed until that happens.

Regards,
    Paul.


On 3/24/21 19:06, Jacek Caban wrote:
> Hi Paul,
>
> Thanks for looking at it. Ultimately, we don't want those asyncs in
> winsock, but this seems good for now.
>
> On 23.03.2021 19:45, Paul Gofman wrote:
>> -            wsa->iovec[0].iov_base = sendBuf;
>> +            wsa->iovec[0].iov_base = sendBuf ? (BYTE *)wsa +
>> offsetof( struct ws2_async, iovec[1] ) : NULL;
>
>
> I think you could use just &wsa->iovec[1] instead.
>
>
> Jacek
>




More information about the wine-devel mailing list