hostapd/src/radius
Alexander Couzens a4e73a0e47 Fix potential double free and use of freed memory in RADIUS client
ieee802_1x_encapsulate_radius() frees the RADIUS message if
radius_client_send() returns error. This could have resulted in use of
freed memory and double freeing of the RADIUS message if send() fails
since the message is also left in the retransmit list. Avoid this by not
returning error to the caller in such a case.

Signed-off-by: Alexander Couzens <lynxis@c-base.org>
2012-04-01 13:36:52 +03:00
..
.gitignore Add build rules for src/radius/libradius.a 2009-12-24 11:59:08 +02:00
Makefile Remove unnecessary SUBDIRS loops from src/*/Makefile 2010-04-17 17:10:31 +03:00
radius.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
radius.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
radius_client.c Fix potential double free and use of freed memory in RADIUS client 2012-04-01 13:36:52 +03:00
radius_client.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
radius_server.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
radius_server.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00