summaryrefslogtreecommitdiff
path: root/scripts/stackdelta
diff options
context:
space:
mode:
authorBaoli.Zhang <baoli.zhang@linux.intel.com>2026-05-06 08:50:37 +0300
committerVinod Koul <vkoul@kernel.org>2026-05-07 10:34:38 +0300
commit35a5ab8ef7f0f00b30eab9d917f3f0f4a2bec5d6 (patch)
tree4b16970fe2804bac3ad82a5d2ccf09787c6c029d /scripts/stackdelta
parent654a7ae10b2ee6b07d5d9193c1c5465410781908 (diff)
downloadlinux-35a5ab8ef7f0f00b30eab9d917f3f0f4a2bec5d6.tar.xz
soundwire: use krealloc_array to prevent integer overflow
Replace the use of krealloc() with krealloc_array() in sdw_add_element_group_count to mitigate the risk of integer overflow during memory allocation size calculation. Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Baoli.Zhang <baoli.zhang@linux.intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/20260506055039.3751028-4-baoli.zhang@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/stackdelta')
0 files changed, 0 insertions, 0 deletions