Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Sep 2021 00:55:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 258527] wpa_supplicant(8) from the base is not able to bring up wlan(4) interface correctly due to SIGSEGV after EAP/PEAP MSCHAPv2 authentication
Message-ID:  <bug-258527-7501-QzM9cYFR2x@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-258527-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-258527-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258527

--- Comment #7 from Cy Schubert <cy@FreeBSD.org> ---
(In reply to Marek Zarychta from comment #6)

The problem is here:

375                             if (sm->proto =3D=3D WPA_PROTO_RSN &&
376                                 !wpa_key_mgmt_suite_b(sm->key_mgmt) &&
377                                 !wpa_key_mgmt_ft(sm->key_mgmt)) {

But, all the variables have been optimized out by the compiler. The quick
solution to this is:

rm -rf /usr/obj/opt/src/git-src/amd64.amd64/usr.sbin/wpa
cd /usr/src/usr.sbin/wpa
DEBUG_FLAGS=3D'-O0 -g' make
make install

Then try wpa_supplicant again and send me the dump.

Don't update your system. I have built the same stable/13 with the same git
hash as you have so I can examine your core dumps. sm or one of its members=
 has
not been initialized.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258527-7501-QzM9cYFR2x>