aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2019-05-28 08:21:54 +0000
committerDavid Sterba <[email protected]>2019-08-07 14:42:39 +0000
commit07301df7d2fc220d3de5f7ad804dcb941400cb00 (patch)
tree729e1588e6f53c4e97d9b415153b897266f328d2 /tools/perf/scripts/python/syscall-counts.py
parentBtrfs: fix sysfs warning and missing raid sysfs directories (diff)
downloadkernel-07301df7d2fc220d3de5f7ad804dcb941400cb00.tar.gz
kernel-07301df7d2fc220d3de5f7ad804dcb941400cb00.zip
btrfs: trim: Check the range passed into to prevent overflow
Normally the range->len is set to default value (U64_MAX), but when it's not default value, we should check if the range overflows. And if it overflows, return -EINVAL before doing anything. Reviewed-by: Nikolay Borisov <[email protected]> Reviewed-by: Anand Jain <[email protected]> Signed-off-by: Qu Wenruo <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions