hostapd-2.3 using wired driver, crashes right after start

Jouni Malinen j
Sun Nov 16 15:40:24 PST 2014


On Mon, Nov 03, 2014 at 08:10:09PM +0100, Jan Humme wrote:
> I am trying to get hostapd-2.3 to run on my desktop computer, using
> the wired driver on a virtual ethernet port.

> Running hostapd in gdb gives:
> >Program received signal SIGSEGV, Segmentation fault.
> >0x0000000000410867 in hostapd_set_freq (hapd=hapd at entry=0x669770,
> >mode=1, freq=-1,
> >    channel=1, ht_enabled=0, vht_enabled=0, sec_channel_offset=0,
> >    vht_oper_chwidth=0, center_segment0=0, center_segment1=0)
> >    at ../src/ap/ap_drv_ops.c:572
> >572             if (hostapd_set_freq_params(&data, mode, freq,
> >channel, ht_enabled,

This was a regression from about a year ago where some configuration
combinations could end up triggering a NULL pointer dereference with
driver=wired. This commit fixes that:
http://w1.fi/cgit/hostap/commit/?id=e9b783d58c23a7bb50b2f25bce7157f1f3b5d58b

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list