aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2022-05-26 11:02:42 +0300
committerDavid S. Miller <[email protected]>2022-05-27 07:59:41 +0100
commite7e7104e2d5ddf3806a28695670f21bef471f1e1 (patch)
tree26e045ee1b365d706f6cc4acc16acd38c0e1cd47 /tools/perf/scripts/python/event_analyzing_sample.py
parenta54ce3703613e41fe1d98060b62ec09a3984dc28 (diff)
net: ethernet: mtk_eth_soc: out of bounds read in mtk_hwlro_get_fdir_entry()
The "fsp->location" variable comes from user via ethtool_get_rxnfc(). Check that it is valid to prevent an out of bounds read. Fixes: 7aab747e5563 ("net: ethernet: mediatek: add ethtool functions to configure RX flows of HW LRO") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions