Zebediah Figura (@zfigura) commented about dlls/ws2_32/socket.c:
} break;
case AF_UNIX:if (len < sizeof(struct sockaddr_un)){SetLastError( WSAEFAULT );return -1;}break;
Can the length be less than the whole size of sun_path? As always we should test for this.