mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-06 20:24:06 -05:00
tests: Memory allocation failing for expanded EAP-Nak
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
3d85fd5a12
commit
bd3948c0eb
@ -9389,6 +9389,15 @@ def test_ap_wps_eap_wsc_errors(dev, apdev):
|
|||||||
wait_scan_stopped(dev[0])
|
wait_scan_stopped(dev[0])
|
||||||
dev[0].dump_monitor()
|
dev[0].dump_monitor()
|
||||||
|
|
||||||
|
with alloc_fail(dev[0], 1, "eap_msg_alloc;eap_sm_build_expanded_nak"):
|
||||||
|
dev[0].wps_reg(bssid, appin + " new_ssid=a", "new ssid", "WPA2PSK",
|
||||||
|
"CCMP", "new passphrase", no_wait=True)
|
||||||
|
wait_fail_trigger(dev[0], "GET_ALLOC_FAIL")
|
||||||
|
dev[0].request("WPS_CANCEL")
|
||||||
|
dev[0].wait_disconnected()
|
||||||
|
wait_scan_stopped(dev[0])
|
||||||
|
dev[0].dump_monitor()
|
||||||
|
|
||||||
def test_ap_wps_eap_wsc(dev, apdev):
|
def test_ap_wps_eap_wsc(dev, apdev):
|
||||||
"""WPS and EAP-WSC in network profile"""
|
"""WPS and EAP-WSC in network profile"""
|
||||||
params = int_eap_server_params()
|
params = int_eap_server_params()
|
||||||
|
Loading…
Reference in New Issue
Block a user