mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-07-16 00:47:25 +02:00
erp: zero keys on free
This commit is contained in:
parent
14ac9e4aeb
commit
b0ef0a79a8
@ -351,6 +351,10 @@ void erp_free(struct erp_state *erp)
|
||||
{
|
||||
erp_cache_put(erp->cache);
|
||||
|
||||
explicit_bzero(erp->rmsk, sizeof(erp->rmsk));
|
||||
explicit_bzero(erp->r_ik, sizeof(erp->r_ik));
|
||||
explicit_bzero(erp->r_rk, sizeof(erp->r_rk));
|
||||
|
||||
l_free(erp);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user