Re: [PATCH v25 0/7] MR2786: Add support for AF_UNIX sockets
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
918
Age (days ago)
918
Last active (days ago)
0 comments
1 participants
participants (1)
-
Zebediah Figura (@zfigura)