diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-07-04 12:52:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-05 20:13:26 +0900 |
commit | 0df8adbb88db8283f102a2afa91610a502245cb2 (patch) | |
tree | 522453ecd9d4a4e7e4b09af8dc4370625bf8a646 /scripts/selinux/genheaders | |
parent | qed: Fix reading stale configuration information (diff) | |
download | linux-dev-0df8adbb88db8283f102a2afa91610a502245cb2.tar.xz linux-dev-0df8adbb88db8283f102a2afa91610a502245cb2.zip |
qed: off by one in qed_parse_mcp_trace_buf()
If format_idx == s_mcp_trace_meta.formats_num then we read one element
beyond the end of the s_mcp_trace_meta.formats[] array.
Fixes: 50bc60cb155c ("qed*: Utilize FW 8.33.11.0")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Tomer Tayar <Tomer.Tayar@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/selinux/genheaders')
0 files changed, 0 insertions, 0 deletions