Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixup! ASoC: SOF: topology: dynamically allocate and store DAI widget… #4724

Conversation

ujfalusi
Copy link
Collaborator

…->private

Prevent NULL pointer dereference when freeing the DAI widgets in DSPless mode.
commit b0490cc ("ASoC: SOF: topology: dynamically allocate and store DAI widget->private") now sets swidget->priv to non NULL so the sof_widget_free_unlocked() is executed and we get a NULL dereference when reaching to swidget->spipe->pipe_widget

…->private

Prevent NULL pointer dereference when freeing the DAI widgets in DSPless
mode.
commit b0490cc ("ASoC: SOF: topology: dynamically allocate and store DAI widget->private")
now sets swidget->priv to non NULL so the sof_widget_free_unlocked()
is executed and we get a NULL dereference when reaching to
swidget->spipe->pipe_widget

Signed-off-by: Peter Ujfalusi <[email protected]>
@plbossart plbossart merged commit 4316522 into thesofproject:topic/sof-dev Nov 30, 2023
9 checks passed
@ujfalusi ujfalusi deleted the peter/sof/pr/fix_dspless_null_pointer_01 branch December 13, 2024 09:00
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.

3 participants