diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-07-15 14:35:06 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-11 18:35:22 -0700 |
commit | 57fe9f79b907bdb8ef1fd8b31824f8901581369e (patch) | |
tree | 7b580193bd6406f028a271575a92acab2e1c059e /lib/memory-notifier-error-inject.c | |
parent | c8942c6aac25cc5e98161c1a6b84b6ae10bff945 (diff) |
mac80211/minstrel: fix NULL pointer dereference issue
commit 5c9fc93bc9bc417418fc1b6366833ae6a07b804d upstream.
When priv_sta == NULL, mi->prev_sample is dereferenced too early. Move
the assignment further down, after the rate_control_send_low call.
Reported-by: Krzysztof Mazur <krzysiek@podlesie.net>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions