diff options
| author | Guennadi Liakhovetski <[email protected]> | 2020-01-24 15:36:19 -0600 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2020-01-27 17:51:49 +0000 |
| commit | 4f7f9564a8937f38f97e8624cb7d6a28ee35f7cb (patch) | |
| tree | d5a79d696cebb2759b3df053286be441310c9555 /scripts/gdb/linux/utils.py | |
| parent | 90b141614a4133ffeb1075049a49c702f98e26df (diff) | |
ASoC: SOF: fix an Oops, caused by invalid topology
It is possible to create invalid topology that will cause a kernel
Oops when trying to allocate buffers for a NULL substream.
Specifically such an Oops was caused by a topology, where a DAI on a
capture pipeline was referencing the PCM ID from a playback pipeline.
Fix the Oops by explicitly checking for NULL.
Signed-off-by: Guennadi Liakhovetski <[email protected]>
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions