mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-30 08:44:03 -05:00
tests: FST-MANAGER SESSION_ADD OOM
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
f067a05589
commit
feb64551d9
@ -2010,6 +2010,10 @@ def test_fst_session_oom(dev, apdev, test_params):
|
|||||||
resp_newif = sta2.ifname()
|
resp_newif = sta2.ifname()
|
||||||
peeraddr = None
|
peeraddr = None
|
||||||
initiator.add_peer(responder, peeraddr, new_peer_addr)
|
initiator.add_peer(responder, peeraddr, new_peer_addr)
|
||||||
|
with alloc_fail(hapd, 1, "fst_session_create"):
|
||||||
|
sid = initiator.grequest("FST-MANAGER SESSION_ADD " + initiator.fst_group)
|
||||||
|
if not sid.startswith("FAIL"):
|
||||||
|
raise Exception("Unexpected SESSION_ADD success")
|
||||||
sid = initiator.add_session()
|
sid = initiator.add_session()
|
||||||
initiator.configure_session(sid, new_iface)
|
initiator.configure_session(sid, new_iface)
|
||||||
with alloc_fail(sta, 1, "fst_session_create"):
|
with alloc_fail(sta, 1, "fst_session_create"):
|
||||||
|
Loading…
Reference in New Issue
Block a user