1 Apr
2010
1 Apr
'10
5:37 a.m.
WANG Tinggong wrote:
hi all,
in src/main/listen.c , auth_socket_recv function, rad_recv_header uses MSG_PEEK flag. in case 0 <= rcode < 20, malfromed request still in the receive queue,
No. Read the rest of rad_recv_header(). If the message is too short, it calls recvfrom() to discard the packet.
should it be cleaned before line 757 ?
No. This would discard the *next* packet on the socket, which might be fine! Alan DeKok.