linux/drivers/net/wireless/ath/ath10k
K.T.VIJAYAKUMAAR 97c69a70dc ath10k: avoid possible memory access violation
array "ctl_power_table" access index "pream" is initialized with -1 and
is raised as a static analysis tool issue.
[drivers\net\wireless\ath\ath10k\wmi.c:4719] ->
[drivers\net\wireless\ath\ath10k\wmi.c:4730]: (error) Array index -1 is
out of bounds.

Since the "pream" index for accessing ctl_power_table array is initialized
with -1, there is a chance of memory access violation for the cases below.
1) wmi_pdev_tpc_final_table_event change frequency is between 2483 and 5180
2) pream_idx is out of the enumeration ranges of wmi_tpc_pream_2ghz,
wmi_tpc_pream_5ghz

Signed-off-by: K.T.VIJAYAKUMAAR <vijay.bvb@samsung.com>
[kvalo@codeaurora.org: clean up the warning message]
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-09-06 19:04:10 +03:00
..
ahb.c ath10k: fix kernel panic by moving pci flush after napi_disable 2018-08-24 14:41:50 +03:00
ahb.h
bmi.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
bmi.h ath10k: support extended board data download for dual-band QCA9984 2018-09-06 18:54:11 +03:00
ce.c ath10k: introduce CE_ATTR_POLL attribute for polling pipe 2018-09-06 18:55:22 +03:00
ce.h ath10k: introduce CE_ATTR_POLL attribute for polling pipe 2018-09-06 18:55:22 +03:00
core.c ath10k: support extended board data download for dual-band QCA9984 2018-09-06 18:54:11 +03:00
core.h ath10k: add extended per sta tx statistics support 2018-09-06 19:02:42 +03:00
coredump.c ath10k: add memory dump support for QCA9888 and QCA99X0 2018-05-25 12:46:05 +03:00
coredump.h ath10k: add memory dump support QCA9984 2018-03-29 11:54:32 +03:00
debug.c ath10k: add debugfs entry to enable extended tx stats 2018-09-06 19:02:34 +03:00
debug.h ath10k: add debugfs entry to enable extended tx stats 2018-09-06 19:02:34 +03:00
debugfs_sta.c ath10k: add debugfs support to dump per sta tx stats 2018-09-06 19:02:51 +03:00
hif.h ath10k: add support to get target info from hif ops 2018-04-19 18:52:51 +03:00
htc.c ath10k: enable pktlog for WCN3990 target 2018-09-06 18:55:32 +03:00
htc.h ath10k: sdio: allocate correct size for RECV_1MORE_BLOCK rx packets 2018-07-02 17:21:37 +03:00
htt.c ath10k: add inlined wrappers for htt tx ops 2018-04-19 19:19:28 +03:00
htt.h ath10k: enable hw checksum for wcn3990 2018-04-24 08:57:48 +03:00
htt_rx.c ath10k: add extended per sta tx statistics support 2018-09-06 19:02:42 +03:00
htt_tx.c ath10k: htt_tx: move lock into id_get function 2018-07-30 20:58:44 +03:00
hw.c ath10k: enable SRRI/DRRI support on ddr for WCN3990 2018-04-24 09:04:21 +03:00
hw.h ath10k: support extended board data download for dual-band QCA9984 2018-09-06 18:54:11 +03:00
Kconfig ath10k: allow ATH10K_SNOC with COMPILE_TEST 2018-09-03 19:58:49 +03:00
mac.c ath10k: add extended per sta tx statistics support 2018-09-06 19:02:42 +03:00
mac.h ath10k: add waiting htt tx complete before wow enable 2018-09-03 19:57:03 +03:00
Makefile ath10k: platform driver for WCN3990 SNOC WLAN module 2018-04-19 18:51:52 +03:00
p2p.c
p2p.h
pci.c ath10k: enable pktlog for WCN3990 target 2018-09-06 18:55:32 +03:00
pci.h ath10k: snoc: stop including pci.h 2018-06-14 18:15:01 +03:00
rx_desc.h ath10k: replace bit shifts with the BIT() macro for rx desc bits 2018-05-12 12:25:17 +03:00
sdio.c ath10k: sdio: set skb len for all rx packets 2018-07-02 17:21:46 +03:00
sdio.h ath10k: rename HTC_HOST_MAX_MSG_PER_BUNDLE define 2018-06-28 12:56:05 +03:00
snoc.c ath10k: enable pktlog for WCN3990 target 2018-09-06 18:55:32 +03:00
snoc.h ath10k: snoc: stop including pci.h 2018-06-14 18:15:01 +03:00
spectral.c ath10k: fix spectral scan for QCA9984 and QCA9888 chipsets 2018-06-14 18:09:45 +03:00
spectral.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
swap.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
swap.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
targaddrs.h ath10k: support extended board data download for dual-band QCA9984 2018-09-06 18:54:11 +03:00
testmode.c ath10k: re-enable the firmware fallback mechanism for testmode 2018-05-14 16:44:41 +02:00
testmode.h
testmode_i.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
thermal.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
thermal.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
trace.c
trace.h ath10k: fix use-after-free in ath10k_wmi_cmd_send_nowait 2018-03-26 18:13:03 +03:00
txrx.c ath10k: Add tx ack signal support for management frames 2018-04-19 18:47:00 +03:00
txrx.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
usb.c ath10k: add initial USB support 2017-08-03 14:31:01 +03:00
usb.h ath10k: add initial USB support 2017-08-03 14:31:01 +03:00
wmi-ops.h ath10k: handle mgmt tx completion event 2018-07-30 20:51:47 +03:00
wmi-tlv.c ath10k: remove redundant pointers 'dev' and 'noa' 2018-07-30 20:54:05 +03:00
wmi-tlv.h ath10k: handle mgmt tx completion event 2018-07-30 20:51:47 +03:00
wmi.c ath10k: avoid possible memory access violation 2018-09-06 19:04:10 +03:00
wmi.h ath10k: add extended per sta tx statistics support 2018-09-06 19:02:42 +03:00
wow.c ath10k: add waiting htt tx complete before wow enable 2018-09-03 19:57:03 +03:00
wow.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00