diff options
author | Johannes Berg <johannes.berg@intel.com> | 2018-12-15 11:03:22 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-12-19 09:40:17 +0100 |
commit | d350a0f431189517b1af0dbbb605c273231a8966 (patch) | |
tree | de90deadfe27057b77b99c3d7fe3b4fac0b69f54 /net/mac80211 | |
parent | a50e5fb8db83c5b57392204c21ea6c5c4ccefde6 (diff) | |
download | linux-d350a0f431189517b1af0dbbb605c273231a8966.tar.bz2 |
nl80211: fix memory leak if validate_pae_over_nl80211() fails
If validate_pae_over_nl80211() were to fail in nl80211_crypto_settings(),
we might leak the 'connkeys' allocation. Fix this.
Fixes: 64bf3d4bc2b0 ("nl80211: Add CONTROL_PORT_OVER_NL80211 attribute")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions