From patchwork Wed Mar 28 23:44:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Fix double free in a wpa enterprise setup, after a client is connecting and hostapd can not reach radius server. It will double free while retransmitting the radius package. Date: Wed, 28 Mar 2012 13:44:54 -0000 From: Alexander Couzens X-Patchwork-Id: 149329 Message-Id: <20120329014454.2f581cc4@c-base.org> To: hostap@lists.shmoo.com Fix double free in a wpa enterprise setup, after a client is connecting and hostapd can not reach radius server. It will double free while retransmitting the radius package. Signed-off-by: Alexander Couzens --- src/radius/radius_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/radius/radius_client.c b/src/radius/radius_client.c index bcd471b..cdaeae9 100644 --- a/src/radius/radius_client.c +++ b/src/radius/radius_client.c @@ -678,7 +678,7 @@ int radius_client_send(struct radius_client_data *radius, radius_client_list_add(radius, msg, msg_type, shared_secret, shared_secret_len, addr); - return res; + return 0; }