Re: [PATCH v21 0/2] MR2100: ntdll: Do not send data to port 0.
14 Feb
2023
14 Feb
'23
7:46 p.m.
Zebediah Figura (@zfigura) commented about dlls/ntdll/unix/socket.c:
+ * This causes 'sendmsg' to throw a EINVAL error, on Windows this does nothing but consume the data. + */ + ssize_t i; + for(i = async->iov_cursor; i < async->count; i++) + { + async->sent_len += async->iov[i].iov_len; + } + + WARN("Attempting to send to port 0, skipping over data.\n"); + + status = STATUS_SUCCESS; + } + else + { + status = try_send( fd, async ); + }
{
status = try_send( fd, async );
}
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2100#note_24097
1040
Age (days ago)
1040
Last active (days ago)
0 comments
1 participants
participants (1)
-
Zebediah Figura (@zfigura)