diff options
| author | Shen Lichuan <shenlichuan@vivo.com> | 2024-08-26 11:46:38 +0800 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-10-12 16:28:24 +0200 |
| commit | 4510319676bdf96da819599643809e5155ef3460 (patch) | |
| tree | 52082da6dd75e2963b6ccbdb7acd3b071545474d /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 953c03d8cb41d08fe6994f5d94c4393ac9da2f13 (diff) | |
| download | linux-4510319676bdf96da819599643809e5155ef3460.tar.gz linux-4510319676bdf96da819599643809e5155ef3460.zip | |
media: pvrusb2: Use kmemdup_array instead of kmemdup for multiple allocation
Let the kmemdup_array() take care about multiplication
and possible overflows.
Using kmemdup_array() is more appropriate and makes the code
easier to audit.
Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
