diff options
author | 2010-10-20 15:59:28 +0200 | |
---|---|---|
committer | 2010-10-25 14:43:14 -0400 | |
commit | 0845735e2d1e4c177076d4bc2d841d9f77e95131 (patch) | |
tree | d45bf79b448f0eef91d1803f113df9343afef820 /kernel/sysctl.c | |
parent | ath9k_hw: Fix divide by zero cases in paprd. (diff) | |
download | linux-dev-0845735e2d1e4c177076d4bc2d841d9f77e95131.tar.xz linux-dev-0845735e2d1e4c177076d4bc2d841d9f77e95131.zip |
ath9k: fix crash in ath_update_survey_stats
If ah->curchan is uninitialized, the channel index is bogus, which leads
to invalid memory access when the cycle counters are updated.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions