Uncancelled timeout in driver_ndis
vincent.maurin at smartcom.com
Mon Aug 28 06:21:53 EDT 2006
I use wpa supplicant in a Visual Studio project (in C#). I call directly
main function to associate, add interface, ....
It works fine
I had memory error when I unplugged my usb wifi adapter while it was
I had searched in the code, debugging and the problem was that some
timeout set by the ndis driver weren't cancelled when I removed the
disappeared interface, so when the timer expired, It try to access to an
destroyed wpa_supplicant structure.
In wpa_driver_ndis_scan, this timeout is set
In wpa_driver_ndis_deinit, it's not cancelled
In my code I add
to resolve the problem.
I wonder if it's my use of wpa supplicant which causes this problem, or
if it can occur on normal use (then it's a bug)
More information about the HostAP