aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/config.py
diff options
context:
space:
mode:
authorPeter Ujfalusi <[email protected]>2023-01-27 14:00:31 +0200
committerMark Brown <[email protected]>2023-01-27 12:14:13 +0000
commit251a2b11851531526260db1dbc5673a7d6177895 (patch)
tree8453a743cc2372c51db9f9b2e85187db422dfc7e /scripts/gdb/linux/config.py
parentf94f3915274d22d5cd8b253e0533822b934f5f41 (diff)
ASoC: SOF: ipc4-pcm: Do not run the trigger pipelines if no spipe is stored
If the pipeline setup fails at the first widget/pipeline then we will have no spipe stored under the pipeline_list->pipelines, the pipeline_list->count is 0. If this is the case we would have a NULL pointer dereference if the execution is allowed to proceed. Check for this condition along with the pipeline_list->pipelines check Signed-off-by: Peter Ujfalusi <[email protected]> Reviewed-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Ranjani Sridharan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions