Skip to content

audio: dai: add NULL converter guard in IPC4 playback fanout#10775

Open
abonislawski wants to merge 1 commit into
thesofproject:mainfrom
abonislawski:fix/dai-null-converter-guard
Open

audio: dai: add NULL converter guard in IPC4 playback fanout#10775
abonislawski wants to merge 1 commit into
thesofproject:mainfrom
abonislawski:fix/dai-null-converter-guard

Conversation

@abonislawski
Copy link
Copy Markdown
Member

@abonislawski abonislawski commented May 14, 2026

Add an 'if (converter)' check around the IPC4 playback multi-sink fanout loop in dai_dma_cb(), mirroring the existing guard already present in the capture branch.

The defensive guard ensures consistent NULL handling and prevents a potential NULL pointer dereference if the code path is ever exercised directly but currently not possible in dai copier IPC4 flow.

Copilot AI review requested due to automatic review settings May 14, 2026 09:42
Add an if (converter) check around the IPC4 playback multi-sink
fanout loop in dai_dma_cb(), mirroring the existing guard already
present in the capture branch.

The defensive guard ensures consistent NULL handling and prevents a
potential NULL pointer dereference if the code path is ever exercised
directly.

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
@abonislawski abonislawski force-pushed the fix/dai-null-converter-guard branch from 51680c2 to 1c5d7fc Compare May 14, 2026 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant