int socket_close(int fd) {
#ifdef WIN32
	return closesocket(fd);
#else
	return close(fd);
#endif
}

The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.