linux_old1/drivers/net/wireless/ath
Colin Ian King 2a19f7765b wil6210: increase cmd buffer size to avoid sscanf buffer overflow
cppcheck detected a buffer overflow:

[drivers/net/wireless/ath/wil6210/debugfs.c:634]: (error) Width 8
  given in format string (no. 1) is larger than destination buffer
  'cmd[8]', use %7s to prevent overflowing it.

For the current %8s sscanf we require cmd to be 9 chars long
so increase it by 1 byte to prevent the sscan overflow (rather
than reduce the %8s specifier to %7s as cppcheck recommends).

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2015-03-03 15:48:12 +02:00
..
ar5523 mac80211: add vif to flush call 2014-04-09 10:55:29 +02:00
ath5k ath5k: fix spontaneus AR5312 freezes 2015-02-06 08:42:32 +02:00
ath6kl cfg80211: change bandwidth reporting to explicit field 2015-01-15 22:41:32 +01:00
ath9k ath9k: Fix issues in the main btcoex timer 2015-03-03 15:46:59 +02:00
ath10k Major changes: 2015-02-09 12:13:58 -08:00
carl9170 wireless: use %*pb[l] to print bitmaps including cpumasks and nodemasks 2015-02-13 21:21:38 -08:00
wcn36xx wcn36xx: initiate TX BA sessions 2015-01-23 19:12:12 +02:00
wil6210 wil6210: increase cmd buffer size to avoid sscanf buffer overflow 2015-03-03 15:48:12 +02:00
Kconfig ath: Add support for tracing 2014-10-02 14:23:14 -04:00
Makefile ath: Add support for tracing 2014-10-02 14:23:14 -04:00
ath.h ath9k: Check WOW triggers properly 2015-02-03 15:31:04 +02:00
debug.c
dfs_pattern_detector.c ath: fix incorrect PPB on FCC radar type 5 2014-12-24 17:28:28 +02:00
dfs_pattern_detector.h ath9k/ath: move dfs pattern detector to ath 2013-10-18 14:03:54 -04:00
dfs_pri_detector.c ath9k/ath: move dfs pattern detector to ath 2013-10-18 14:03:54 -04:00
dfs_pri_detector.h ath9k/ath: move dfs pattern detector to ath 2013-10-18 14:03:54 -04:00
hw.c
key.c
main.c ath: Fix smatch warning 2014-10-07 14:48:37 -04:00
reg.h
regd.c ath: use CTL region from cfg80211 if unset in EEPROM 2014-10-23 14:02:06 -04:00
regd.h
regd_common.h
spectral_common.h ath10k: add spectral scan feature 2014-08-04 09:07:54 +03:00
trace.c ath: Add support for tracing 2014-10-02 14:23:14 -04:00
trace.h ath: Add support for tracing 2014-10-02 14:23:14 -04:00