Re: [PATCH 1/1] ieee80211: fix possible memory leak of radius data in handle_auth

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 28, 2019 at 01:14:57PM +0200, Michael Braun wrote:
> When returning from handle_auth after ieee802_11_allowed_address returned
> HOSTAPD_ACL_ACCEPT but before ieee802_11_set_radius_info has been called,
> identity, radius_cui and psk might not have been consumed.
> 
> Fix this by avoiding the need to free these variables at all.
> 
> While at it, move the radius cached attributes into a struct so that they
> can be passed around more easily and less places need to be altered when
> adding support for new RADIUS attributes.

Thanks, applied.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux