]> git.ipfire.org Git - thirdparty/hostap.git/commit
RADIUS client: Fix socket close/re-open on server change
authorJouni Malinen <j@w1.fi>
Fri, 30 May 2014 14:21:28 +0000 (17:21 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 30 May 2014 15:09:42 +0000 (18:09 +0300)
commit70d4084885b65ccd0242f0b2a761691305e61549
treeb95d409b470c92cda468d6ce59b95d61ea90b865
parentd045cc8e4cce4ff6adf0ec4d4c2b132ef78dc8a5
RADIUS client: Fix socket close/re-open on server change

Both IPv4 and IPv6 sockets were not closed consistently in the paths
that tried to change RADIUS servers. This could result in leaking
sockets and leaving behind registered eloop events to freed memory on
interface removal.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/radius/radius_client.c