commit | 4baf6bea37247e59f1971e8009d13aeda95edba2 | [log] [tgz] |
---|---|---|
author | Ola Olsson <ola1olsson@gmail.com> | Thu Oct 29 07:04:58 2015 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Tue Nov 03 10:40:58 2015 +0100 |
tree | e64df44ad8496ec39bfd9461a932975c06ab7c51 | |
parent | 519ee6918b91abdc4bc9720deae17599a109eb40 [diff] |
nl80211: Fix potential memory leak from parse_acl_data If parse_acl_data succeeds but the subsequent parsing of smps attributes fails, there will be a memory leak due to early returns. Fix that by moving the ACL parsing later. Cc: stable@vger.kernel.org Fixes: 18998c381b19b ("cfg80211: allow requesting SMPS mode on ap start") Signed-off-by: Ola Olsson <ola.olsson@sonymobile.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>