Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: [email protected] Fixes: 18998c3 ("cfg80211: allow requesting SMPS mode on ap start") Signed-off-by: Ola Olsson <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
- Loading branch information