diff options
author | Denis Efremov <[email protected]> | 2020-09-21 20:03:36 +0300 |
---|---|---|
committer | David Sterba <[email protected]> | 2020-10-07 12:13:22 +0200 |
commit | bae12df966f0e1a9b40a2c46d01a0ad79b2c865c (patch) | |
tree | b3646bc6434e34f90442e5eda3849236f8d32e91 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8eb2fd00153a3a96a19c62ac9c6d48c2efebe5e8 (diff) |
btrfs: use kvcalloc for allocation in btrfs_ioctl_send()
Replace kvzalloc() call with kvcalloc() that also checks the size
internally. There's a standalone overflow check in the function so we
can return invalid parameter combination. Use array_size() helper to
compute the memory size for clone_sources_tmp.
Cc: Kees Cook <[email protected]>
Signed-off-by: Denis Efremov <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions