Re: [PATCH] wpa_supplicant: Use unique IDs for networks and credentials

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

 



On Mon, Feb 07, 2022 at 09:01:39PM +0100, Naïm Favier wrote:
> The id and cred_id variables are reset to 0 every time the
> wpa_config_read function is called, which is fine as long as it is only
> called once. However, this is not the case when using both the -c and -I
> options to specify two config files.
> 
> This is a problem because the GUI, since eadfeb0e93748eb396ae62012b92d21a7f533646,
> relies on the network IDs being unique (and increasing), and might get
> into an infinite loop otherwise.
> 
> This is solved by simply making the variables static.

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