HomeFreeBSD

rtwn: remove out-of-bounds access + fix debug output.

Description

rtwn: remove out-of-bounds access + fix debug output.

Omit unused rates while initializing / dumping Tx power values.

They were not accessed anywhere (except for debugging), so this is
(mostly) no-op.

Tested with

  • RTL8188EU, STA mode.
  • RTL8812AU, STA mode.

Found by: PVS-Studio

Details

Provenance
avosAuthored on
Parents
rS316722: Fix multiple vulnerabilities of ntp. [SA-17:03]
Branches
Unknown
Tags
Unknown