diff options
| author | Niranjan H Y <niranjan.hy@ti.com> | 2025-11-10 20:56:46 +0530 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-11-10 16:22:49 +0000 |
| commit | eb2d6774cc0d9d6ab8f924825695a85c14b2e0c2 (patch) | |
| tree | bf76e513378663f3d0d4eb1c02b48bbabdfe14d3 /net/unix/af_unix.c | |
| parent | 29528c8e643bb0c54da01237a35010c6438423d2 (diff) | |
ASoC: SDCA: bug fix while parsing mipi-sdca-control-cn-list
"struct sdca_control" declares "values" field as integer array.
But the memory allocated to it is of char array. This causes
crash for sdca_parse_function API. This patch addresses the
issue by allocating correct data size.
Signed-off-by: Niranjan H Y <niranjan.hy@ti.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20251110152646.192-1-niranjan.hy@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
