Re: [PATCH] DBus: add ANQP fields to BSS properties

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

 



On Mon, Feb 26, 2024 at 04:32:41PM +0000, Damien Dejean wrote:
> Add ANQP fields to the BSS properties to allow DBus clients to be
> notified and obtain the values when it changes.

Thanks, applied with some cleanup and a fix.

> diff --git a/wpa_supplicant/interworking.c b/wpa_supplicant/interworking.c
> @@ -3198,6 +3198,7 @@ void anqp_resp_cb(void *ctx, const u8 *dst, u8 dialog_token,

>  out_parse_done:
> +	wpas_notify_bss_anqp_changed(wpa_s, bss->id);

That can trigger a segfault since bss might be NULL here. One of the
automated test cases (gas_anqp_get_no_scan) found this.
 
-- 
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