Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Fixes: 8564e38 ("cfg80211: add checks for beacon rate, extend to mesh") Signed-off-by: Johannes Berg <[email protected]>
- Loading branch information