Re: [PATCH] hostapd: Fix crash setting global configurator params on chirp rx

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

 



On Wed, Sep 16, 2020 at 09:51:40PM +0000, Andrew Beltrano wrote:
> When a presence announcement frame is received, a check is done to
> ensure an ongoing auth is not in progress (!hapd->dpp_auth). A new dpp
> auth is then initialized, however, when setting global configurator
> params for it, the hapd->dpp_auth pointer is used which was earlier
> confirmed as NULL, causing a crash in dpp_set_configurator params when
> the pointer is dereferenced.
> 
> This only occurs when there are global DPP configurator params to be set
> and the peer has no overriding configurator params. If no global dpp
> configurator params exist, the call to dpp_set_configurator exits early
> and the problem is not observed.
> 
> Fix by using the newly init'ed dpp auth structure for setting global
> dpp configurator params.

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