mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-03 19:02:34 +01: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);
|
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);
|
l_free(erp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user