aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAleksandr Mishin <[email protected]>2024-06-04 11:25:00 +0300
committerPaolo Abeni <[email protected]>2024-06-06 10:15:14 +0200
commitb0c9a26435413b81799047a7be53255640432547 (patch)
treeafd0780f02f39bf810212176bd2ff12de07ade06 /tools/perf/scripts/python/export-to-sqlite.py
parent5899c885131a7b2926ed26f6a5df1fc3c878418d (diff)
net: wwan: iosm: Fix tainted pointer delete is case of region creation fail
In case of region creation fail in ipc_devlink_create_region(), previously created regions delete process starts from tainted pointer which actually holds error code value. Fix this bug by decreasing region index before delete. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: 4dcd183fbd67 ("net: wwan: iosm: devlink registration") Signed-off-by: Aleksandr Mishin <[email protected]> Acked-by: Sergey Ryazanov <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions