mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-31 01:04:03 -05:00
mka: Fix use after free
We must cancel the timer when we delete an MKA instance. Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
This commit is contained in:
parent
d68b73cfa5
commit
cfe0a0194b
@ -3438,6 +3438,7 @@ ieee802_1x_kay_delete_mka(struct ieee802_1x_kay *kay, struct mka_key_name *ckn)
|
||||
return;
|
||||
}
|
||||
|
||||
eloop_cancel_timeout(ieee802_1x_participant_timer, participant, NULL);
|
||||
dl_list_del(&participant->list);
|
||||
|
||||
/* remove live peer */
|
||||
|
Loading…
Reference in New Issue
Block a user