summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-03-02 14:21:54 +0300
committerDavid S. Miller <davem@davemloft.net>2021-03-03 08:44:24 -0800
commit2378b2c9ecf437b918dff246b81b5b624ec14f80 (patch)
tree93b684b11f887f208f69c8818e4ac690a983c9c8 /tools/perf/scripts/python/export-to-postgresql.py
parent95b39f07a17faef3a9b225248ba449b976e529c8 (diff)
octeontx2-af: cn10k: fix an array overflow in is_lmac_valid()
The value of "lmac_id" can be controlled by the user and if it is larger then the number of bits in long then it reads outside the bitmap. The highest valid value is less than MAX_LMAC_PER_CGX (4). Fixes: 91c6945ea1f9 ("octeontx2-af: cn10k: Add RPM MAC support") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions