16 Jun
2023
16 Jun
'23
5:31 p.m.
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. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2786#note_35918