diff options
| author | 2020-06-24 11:13:02 +0100 | |
|---|---|---|
| committer | 2020-06-24 14:57:24 -0700 | |
| commit | a51243860893615b457b149da1ef5df0a4f1ffc2 (patch) | |
| tree | 333589344d0140ac28ea58331de819fcae2ec249 /tools/perf/scripts/python/sctop.py | |
| parent | Merge branch 'net-phy-call-phy_disable_interrupts-in-phy_init_hw' (diff) | |
| download | wireguard-linux-a51243860893615b457b149da1ef5df0a4f1ffc2.tar.xz wireguard-linux-a51243860893615b457b149da1ef5df0a4f1ffc2.zip | |
qed: add missing error test for DBG_STATUS_NO_MATCHING_FRAMING_MODE
The error DBG_STATUS_NO_MATCHING_FRAMING_MODE was added to the enum
enum dbg_status however there is a missing corresponding entry for
this in the array s_status_str. This causes an out-of-bounds read when
indexing into the last entry of s_status_str.  Fix this by adding in
the missing entry.
Addresses-Coverity: ("Out-of-bounds read").
Fixes: 2d22bc8354b1 ("qed: FW 8.42.2.0 debug features")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
