summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-03-22 21:44:56 +0300
committerDavid S. Miller <davem@davemloft.net>2018-03-23 20:05:58 +0300
commit594619497f3d6d4b8d8440e6d380e8da9dcc9eeb (patch)
tree51d2f3468613ed7f47260ca55400679b9a3522aa /tools/perf/scripts/python/export-to-sqlite.py
parentf145749dd49d00430e1e735656c757a3552dcd4e (diff)
downloadlinux-594619497f3d6d4b8d8440e6d380e8da9dcc9eeb.tar.xz
net/mlx5: Fix use-after-free
_rule_ is being freed and then dereferenced by accessing rule->ctx Fix this by copying the value returned by PTR_ERR(rule->ctx) into a local variable for its safe use after freeing _rule_ Addresses-Coverity-ID: 1466041 ("Read from pointer after free") Fixes: 05564d0ae075 ("net/mlx5: Add flow-steering commands for FPGA IPSec implementation") Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com> Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Acked-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions