diff options
| author | Charles Keepax <[email protected]> | 2024-12-12 10:57:42 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2024-12-12 11:08:49 +0000 |
| commit | 255cc582e6e16191a20d54bcdbca6c91d3e90c5e (patch) | |
| tree | 33a9e9e3e2cef6c2d1716711c671b79e0b03a354 /net/unix/af_unix.c | |
| parent | ASoC: fsl_spdif: change IFACE_PCM to IFACE_MIXER (diff) | |
| download | kernel-255cc582e6e16191a20d54bcdbca6c91d3e90c5e.tar.gz kernel-255cc582e6e16191a20d54bcdbca6c91d3e90c5e.zip | |
ASoC: Intel: sof_sdw: Add space for a terminator into DAIs array
The code uses the initialised member of the asoc_sdw_dailink struct to
determine if a member of the array is in use. However in the case the
array is completely full this will lead to an access 1 past the end of
the array, expand the array by one entry to include a space for a
terminator.
Fixes: 27fd36aefa00 ("ASoC: Intel: sof-sdw: Add new code for parsing the snd_soc_acpi structs")
Reviewed-by: Bard Liao <[email protected]>
Reviewed-by: Péter Ujfalusi <[email protected]>
Signed-off-by: Charles Keepax <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
