diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-09-18 22:46:36 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-09-18 22:51:07 +0200 |
commit | 265698d7e6132a2d41471135534f4f36ad15b09c (patch) | |
tree | dcf575e252d1108b92cd98ebb0b7e77b304819c9 /drivers/regulator/tps65910-regulator.c | |
parent | e785fa0a164aa11001cba931367c7f94ffaff888 (diff) |
nl80211: fix null-ptr dereference on invalid mesh configuration
If TX rates are specified during mesh join, the channel must
also be specified. Check the channel pointer to avoid a null
pointer dereference if it isn't.
Reported-by: Jouni Malinen <j@w1.fi>
Fixes: 8564e38206de ("cfg80211: add checks for beacon rate, extend to mesh")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/regulator/tps65910-regulator.c')
0 files changed, 0 insertions, 0 deletions