Re: [PATCH v25 0/6] MR7650: Add support for AF_UNIX sockets (followup)
23 May
2025
23 May
'25
12:07 a.m.
Ralf Habacker (@rhabacker) commented about dlls/ws2_32/socket.c:
return -1; } params->unknown = 0; - memcpy( ¶ms->addr, addr, len ); + if (addr->sa_family == AF_UNIX) + memset( ¶ms->addr, 0, len ); + memcpy( ¶ms->addr, addr, bind_len ); + if (unix_path)
Here a comment should be added, that in case of AF_UNIX sockets the unix path is appended as second string to `params->addr`. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7650#note_104293
207
Age (days ago)
207
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ralf Habacker (@rhabacker)