Segmentation Fault

Vincent Maurin vincent.maurin
Mon Sep 11 08:37:10 PDT 2006


Hi again,



Jouni Malinen a ?crit :
> Could you please try this under wpa_supplicant 0.5.5? It won't fix any
> problems that may be in the driver interface code, but it may remove
> this segfault.
>
>   

After a deeper search in the code, I think that there is the same 
problem in wext driver that there was in ndis driver (reported here 
http://lists.shmoo.com/pipermail/hostap/2006-August/013992.html)

In wpa_driver_wext_scan line 1044 of driver_wext.c, a timeout is created
eloop_register_timeout(3, 0, wpa_driver_wext_scan_timeout, drv, drv->ctx);

If the interface is removed before the timeout expires, it would be 
cancelled in wpa_driver_wext_deinit with
eloop_cancel_timeout( wpa_driver_wext_scan_timeout, drv, drv->ctx);

As the Andrea's driver is is mainly based on the wext one, he may have 
this bug too.

Regards





More information about the Hostap mailing list