aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorOscar Carter <[email protected]>2020-05-01 15:51:18 +0000
committerGreg Kroah-Hartman <[email protected]>2020-05-05 10:36:05 +0000
commit769acc3656d93aaacada814939743361d284fd87 (patch)
tree6b5ca38f70eb00ca8bac12d35abc41164f94892f /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentstaging: ks7010: remove me from CC list (diff)
downloadkernel-769acc3656d93aaacada814939743361d284fd87.tar.gz
kernel-769acc3656d93aaacada814939743361d284fd87.zip
staging: gasket: Check the return value of gasket_get_bar_index()
Check the return value of gasket_get_bar_index function as it can return a negative one (-EINVAL). If this happens, a negative index is used in the "gasket_dev->bar_data" array. Addresses-Coverity-ID: 1438542 ("Negative array index read") Fixes: 9a69f5087ccc2 ("drivers/staging: Gasket driver framework + Apex driver") Signed-off-by: Oscar Carter <[email protected]> Cc: stable <[email protected]> Reviewed-by: Richard Yeh <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions