Re: segfault in wpa_ctrl_request

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

 



On Thu, Jan 14, 2016 at 11:28:40AM -0500, marc miller wrote:
> I am using wpa_supplicant to control wifi on one of my arm based
> platforms. I'm using 2.2 . I see sometimes that my process segfaults
> and backtrace points it to wpa_ctrl_request.
> 
> In the latest instance , i saw it point to wpa_ctrl.c:521 -->
> "
>         if (FD_ISSET(ctrl->s, &rfds)) {
> "
> 
> This happened when my process tried to do this:
>       if (wpa_ctrl_request(g_ctrl_conn,"DISCONNECT",10,buf,&len,NULL) < 0)

Is there any chance of this process using multiple threads and another
thread closing the control socket while this command is still executing?
That's one case I remember someone being able to hit a crash in
wpa_ctrl.c.

-- 
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