summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorKuan-Chung Chen <damon.chen@realtek.com>2025-11-11 10:24:49 +0800
committerPing-Ke Shih <pkshih@realtek.com>2025-11-13 09:36:40 +0800
commit1dd7e743dd37361c8c1ac89355a8da738e2b81fb (patch)
tree32ef78c012157065b036c4d266b8ec39b468cee3 /rust/kernel/alloc/kvec/git@git.tavy.me:linux.git
parentb37fb77d4530f711a08b6dd860a8a4839897aba2 (diff)
wifi: rtw89: phy: fix out-of-bounds access in rtw89_phy_read_txpwr_limit()
Coverity reported a potential out-of-bounds access when 'bw' exceeds the valid range for the specified band. Add a helper `rtw89_bw_is_valid()` to check bandwidth validity for each band before accessing limit tables. Addresses-Coverity-ID: 1598844 ("Out-of-bounds access") Addresses-Coverity-ID: 1598896 ("Out-of-bounds access") Signed-off-by: Kuan-Chung Chen <damon.chen@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20251111022452.28093-6-pkshih@realtek.com
Diffstat (limited to 'rust/kernel/alloc/kvec/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions