rem: if (len > nam->m_len)
add: if (len > (int) nam->m_len)
context: int socket_accept(struct socket *so, struct socket **nso, void *data, int *alen){	int len;	int error;	struct mbuf *nam;		if (data)		memcpy(&len, alen, sizeof(len));	if ((so->so_options & SO_ACCEPTCONN) == 0)		return EINVAL;	if ((so->so_state & SS_NBIO) && so->so_qlen == 0)		return EWOULDBLOCK;	while (so->so_qlen == 0 && so->so_error == 0) {		if (so->so_state & SS_CANTRCVMORE) {			so->so_error = ECONNABORTED;			break;		}		if ((error = nsleep(so->so_timeo, "socket_accept", 0)))			return error;	}	if (so->so_error) {		error = so->so_error;		so->so_error = 0;		return error;	}	{		struct socket *aso = so->so_q;		if (soqremque(aso, 1) == 0) {			printf("PANIC: socket_accept!\n");			return ENOMEM;		}		so = aso;	}	nam = m_get(MT_SONAME);	so->so_state &= ~SS_NOFDREF;	error = (*so->so_proto->pr_userreq)(so, PRU_ACCEPT, NULL, nam, NULL);	if (data) {		if (len > nam->m_len)			len = nam->m_len;		if (memcpy(data, mtod(nam, caddr_t), len) == NULL)			memcpy(alen, (caddr_t)&len, sizeof(len));	}	m_freem(nam);		/* assign the socket to the cookie passed in! */	*nso = so;				return error;}