aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/clk.py
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <[email protected]>2023-03-29 14:38:28 +0300
committerMark Brown <[email protected]>2023-03-29 14:40:18 +0100
commite3720f92e0237921da537e47a0b24e27899203f8 (patch)
tree865f47ce1954e0939ffbc2083cce247711b423c6 /scripts/gdb/linux/clk.py
parent44378cd113e5f15bb0a89f5ac5a0e687b52feb90 (diff)
ASoC: SOF: avoid a NULL dereference with unsupported widgets
If an IPC4 topology contains an unsupported widget, its .module_info field won't be set, then sof_ipc4_route_setup() will cause a kernel Oops trying to dereference it. Add a check for such cases. Cc: [email protected] # 6.2 Signed-off-by: Guennadi Liakhovetski <[email protected]> Signed-off-by: Peter Ujfalusi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions