commit | d350a0f431189517b1af0dbbb605c273231a8966 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Sat Dec 15 11:03:22 2018 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Wed Dec 19 09:40:17 2018 +0100 |
tree | de90deadfe27057b77b99c3d7fe3b4fac0b69f54 | |
parent | a50e5fb8db83c5b57392204c21ea6c5c4ccefde6 [diff] |
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>