diff options
author | Javier Lopez <[email protected]> | 2013-12-16 10:01:07 -0800 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2013-12-16 21:17:07 +0100 |
commit | c0e30763f7ef9c7b7ff663204c9439bdbcac72ca (patch) | |
tree | 2ced3780e0ad6715e60a3b08c9194b84fa91df7b /net/lapb/lapb_out.c | |
parent | bd02cd2549cfcdfc57cb5ce57ffc3feb94f70575 (diff) |
mac80211_hwsim: Fix NULL pointer dereference
mac80211_hwsim was crashing when receiving tx information from user
space. Crash happens because txi->rate_driver_data[0] is pointing to a
non valid memory address.
This code path is only used by wmediumd and wmediumd doesn't provide
multiple channel support, so we can pass the channel struct
(data2->channel) directly to mac80211_hwsim_monitor_ack function.
Signed-off-by: Javier Lopez <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions