diff options
author | Rahul Bhattacharjee <quic_rbhattac@quicinc.com> | 2022-10-21 14:31:26 +0530 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2022-11-02 17:53:41 +0200 |
commit | ed3725e15a154ebebf44e0c34806c57525483f92 (patch) | |
tree | c6de95616dea0d249bd7e6850548082ae50208b8 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4f6620cd6bbd1e10018969ab52bdd8e083d91884 (diff) |
wifi: ath11k: Fix qmi_msg_handler data structure initialization
qmi_msg_handler is required to be null terminated by QMI module.
There might be a case where a handler for a msg id is not present in the
handlers array which can lead to infinite loop while searching the handler
and therefore out of bound access in qmi_invoke_handler().
Hence update the initialization in qmi_msg_handler data structure.
Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.5.0.1-01100-QCAHKSWPL_SILICONZ-1
Signed-off-by: Rahul Bhattacharjee <quic_rbhattac@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20221021090126.28626-1-quic_rbhattac@quicinc.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions