aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorPing-Ke Shih <[email protected]>2021-11-19 13:57:29 +0800
committerKalle Valo <[email protected]>2021-11-26 18:13:03 +0200
commit30101812a09b37bc8aa409a83f603d4c072198f2 (patch)
treefdba5ca742e9dede075d42cdcfa4d7ea1401cb17 /scripts/basic
parent43863efeada6eda380bd08537d1e4719341dc50d (diff)
rtw89: fix potentially access out of range of RF register array
The RF register array is used to help firmware to restore RF settings. The original code can potentially access out of range, if the size is between (RTW89_H2C_RF_PAGE_SIZE * RTW89_H2C_RF_PAGE_NUM + 1) to ((RTW89_H2C_RF_PAGE_SIZE + 1) * RTW89_H2C_RF_PAGE_NUM). Fortunately, current used size doesn't fall into the wrong case, and the size will not change if we don't update RF parameter. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Ping-Ke Shih <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions