You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The protocol specifies a particular protocol to be used with the
socket. Normally only a single protocol exists to support a
particular socket type within a given protocol family, in which
case protocol can be specified as 0.
Add additional check for
parameter
argument of0
.https://learn.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-socket
https://man7.org/linux/man-pages/man2/socket.2.html
https://github.com/mandiant/capa-rules/blob/e50d824553ae8d7168ac2d1f7b5540a93f944e28/communication/socket/udp/send/create-udp-socket.yml
https://github.com/mandiant/capa-rules/blob/e50d824553ae8d7168ac2d1f7b5540a93f944e28/communication/socket/tcp/create-tcp-socket.yml
The text was updated successfully, but these errors were encountered: