On Thu, Nov 07, 2024 at 03:43:07PM +0200, Peter Ujfalusi wrote: > 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: ef8ba9f79953 ("ASoC: SOF: Add support for compress API for stream data/offset") This commit, also referenced in the second patch, doesn't exist.
Attachment:
signature.asc
Description: PGP signature
- References:
- [PATCH v2 0/2] ASoC: SOF: Correct sps->stream and cstream nullity management
- From: Peter Ujfalusi
- [PATCH v2 1/2] ASoC: SOF: stream-ipc: Check for cstream nullity in sof_ipc_msg_data()
- From: Peter Ujfalusi
- [PATCH v2 0/2] ASoC: SOF: Correct sps->stream and cstream nullity management
- Prev by Date: Re: ASoC Kernel 6.1: Query regarding dynamic dai link/dapm registration during bootup
- Next by Date: [GIT PULL] sound fixes for 6.12-rc7
- Previous by thread: [PATCH v2 1/2] ASoC: SOF: stream-ipc: Check for cstream nullity in sof_ipc_msg_data()
- Next by thread: [PATCH v2 2/2] ASoC: SOF: pcm: Clear the susbstream pointer to NULL on close
- Index(es):