Re: [PATCH v25 0/7] MR2786: Add support for AF_UNIX sockets
18 Jun
2023
18 Jun
'23
4:33 a.m.
On Fri Jun 16 17:31:21 2023 +0000, Zebediah Figura wrote:
Can the length be less than the whole size of sun_path? As always we should test for this. Windows 10 does not throw an error if the length is less than `sizeof(struct sockaddr_un)`; it successfully created a socket when I passed a length of `sizeof(addr.sun_family) + strlen(addr.sun_path) - 1` (minus), though the path was truncated by one character.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2786#note_36049
915
Age (days ago)
915
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ally Sommers (@dropbear)