aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <[email protected]>2025-02-05 13:52:31 +0000
committerMark Brown <[email protected]>2025-02-05 14:06:26 +0000
commitd8d99c3b5c485f339864aeaa29f76269cc0ea975 (patch)
treef698e36e2c5dc71078b146535aa728f9ddf9e8f3 /net/unix/af_unix.c
parentASoC: Intel: soc-acpi-intel-tgl/mtl-match: declare adr (diff)
downloadkernel-d8d99c3b5c485f339864aeaa29f76269cc0ea975.tar.gz
kernel-d8d99c3b5c485f339864aeaa29f76269cc0ea975.zip
ASoC: SOF: stream-ipc: Check for cstream nullity in sof_ipc_msg_data()
The nullity of sps->cstream should be checked similarly as it is done in sof_set_stream_data_offset() function. Assuming that it is not NULL if sps->stream is NULL is incorrect and can lead to NULL pointer dereference. Fixes: 090349a9feba ("ASoC: SOF: Add support for compress API for stream data/offset") Cc: [email protected] Reported-by: Curtis Malainey <[email protected]> Closes: https://github.com/thesofproject/linux/pull/5214 Signed-off-by: Peter Ujfalusi <[email protected]> Reviewed-by: Daniel Baluta <[email protected]> Reviewed-by: Ranjani Sridharan <[email protected]> Reviewed-by: Bard Liao <[email protected]> Reviewed-by: Curtis Malainey <[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