Bug with changing configuration while hostapd is running

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

 



Hello,

I have encountered a bug while adding/removing networks from hostapd
configuration file.
Happens at both 2.3 and 2.6 versions.

Removing a broadcasted network from the configuration file, while the
hostapd process is running might crash the hostapd (SEGFAULT).
How to reproduce:
- running the hostapd with a configuration file containing at least 2 networks.
- editing the configuration file, removing a broadcasted network
- sending SIGHUP to the hostapd process to reload the configuration

Sometimes it crashes the hostapd, sometimes it doesn't.
The problem happens at hostapd.c : hostapd_reload_config function. The
function doesn't handled cases where networks are added/removed from
the configuration file.

Thanks
John

_______________________________________________
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