]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
wpa: Fix a SIGBUS error in wpa_sm_set_rekey_offload
authorCy Schubert <cy@FreeBSD.org>
Wed, 2 Jun 2021 19:46:02 +0000 (12:46 -0700)
committerCy Schubert <cy@FreeBSD.org>
Mon, 13 Sep 2021 21:12:02 +0000 (14:12 -0700)
commit2d991a11c8a6a1b54e88206e3a32605c55e7c0ac
treeeb83cbbaf27f2dc0dac120a6f96c1cd94667d478
parent5654815fd3604e024eefdcb34904d3a7c883e8c5
wpa: Fix a SIGBUS error in wpa_sm_set_rekey_offload

Incorrectly linked built-in wpa functions resulted in overwriting
sm->ctx->set_rekey_offload with garbage. It was initialized correctly
however it changed after wpa_supplicant became a daemon.

No SIGBUS violations reported by dhw@ were experienced during testing
of the original commit by msyelf or philip@.

Reported by: dhw
Tested by: dhw
MFC after: 2 months
X-MFC with: 25ecdc7d52770caf1c9b44b5ec11f468f6b636f3

(cherry picked from commit 9a0f82285322a338548d13fcda07e1d574301190)
22 files changed:
usr.sbin/wpa/Makefile.crypto
usr.sbin/wpa/hostapd/Makefile
usr.sbin/wpa/hostapd_cli/Makefile
usr.sbin/wpa/src/ap/Makefile
usr.sbin/wpa/src/common/Makefile
usr.sbin/wpa/src/crypto/Makefile
usr.sbin/wpa/src/drivers/Makefile
usr.sbin/wpa/src/eap_common/Makefile
usr.sbin/wpa/src/eap_peer/Makefile
usr.sbin/wpa/src/eap_server/Makefile
usr.sbin/wpa/src/eapol_auth/Makefile
usr.sbin/wpa/src/eapol_supp/Makefile
usr.sbin/wpa/src/l2_packet/Makefile
usr.sbin/wpa/src/radius/Makefile
usr.sbin/wpa/src/rsn_supp/Makefile
usr.sbin/wpa/src/tls/Makefile
usr.sbin/wpa/src/utils/Makefile
usr.sbin/wpa/src/wps/Makefile
usr.sbin/wpa/wpa_cli/Makefile
usr.sbin/wpa/wpa_passphrase/Makefile
usr.sbin/wpa/wpa_priv/Makefile
usr.sbin/wpa/wpa_supplicant/Makefile