wpa_supplicant-0.5.11 SEG FAULT for for [WPA2-PSK-TKIP+CCMP-preauth]

Jouni Malinen j
Tue Jun 16 10:49:15 PDT 2009


On Tue, Jun 16, 2009 at 05:40:07PM +0530, Raghavendra wrote:

> I am using wpa_supplicant-0.5.11. I configured D-Link AP with WPA2-PSK and Cipher Type as "Auto". Getting seg fault. Please see logs below.
> In scan result it displayed following info.

It looks like I'm unable to reproduce this. Would it be possible for you
to use gdb or valgrind to get a backtrace or at least the location of
the segmentation fault?

> # cat wpa_supplicant.conf.tmp 
> ctrl_interface=/var/run/wpa_supplicant
> ap_scan=2
> 
> 
> network={
>                 ssid="default"
>                 proto=WPA RSN
>                 key_mgmt=WPA-PSK
>                 pairwise=TKIP CCMP
>                 group=TKIP CCMP
>                 psk="testtest"
> }

By the way, this is invalid configuration. With ap_scan=2, only one
option for proto/key_mgmt/pairwise/group is allowed. Not that this
should cause the crash (and it did not in my tests), but it may result
in unexpected results.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list