[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
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Sep 2021 00:55:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258527
--- Comment #7 from Cy Schubert <cy@FreeBSD.org> ---
(In reply to Marek Zarychta from comment #6)
The problem is here:
375 if (sm->proto == 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='-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.
--
You are receiving this mail because:
You are on the CC list for the bug.