diff options
| author | Jacob Keller <[email protected]> | 2023-03-03 10:04:57 -0800 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2023-03-05 23:38:32 +0000 |
| commit | c9ef0fee3bdf8197538aadc728e475fceba113bb (patch) | |
| tree | 24fd763f7765417a5ab3a5743a6a11d068c1518e /tools/perf/scripts/python/task-analyzer.py | |
| parent | fe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff) | |
ASoC: Intel: avs: Use struct_size for struct avs_modcfg_ext size
The struct avs_modcfg_ext structure has a flexible array member for the
pin_fmts array, and the size should be calculated using struct_size to
prevent the potential for overflow with the allocation.
Reviewed-by: Cezary Rojewski <[email protected]>
Reviewed-by: "Amadeusz Sławiński" <[email protected]>
Signed-off-by: Jacob Keller <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions