diff options
author | Mark Brown <broonie@kernel.org> | 2024-06-11 12:28:22 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-06-11 12:28:22 +0100 |
commit | b9dd212b14d27a53b63fc6621c452c0b3a01f61d (patch) | |
tree | 8a301f8edb81d71442c74e34461d42220efcdd5b /include/sound | |
parent | e3209a1827646daaab744aa6a5767b1f57fb5385 (diff) | |
parent | e0e7bc2cbee93778c4ad7d9a792d425ffb5af6f7 (diff) | |
download | lwn-b9dd212b14d27a53b63fc6621c452c0b3a01f61d.tar.gz lwn-b9dd212b14d27a53b63fc6621c452c0b3a01f61d.zip |
ASoC: topology: Fix route memory corruption
Merge series from Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>:
Originally reported here:
https://github.com/thesofproject/avs-topology-xml/issues/22#issuecomment-2127892605
There is various level of failure there, first of all when topology
loads routes, it points directly into FW file, but it may be freed after
topology load. After fixing the above, when avs driver parses topology
it should allocate its own memory, as target strings can be shorter than
needed. Also clean up soc_tplg_dapm_graph_elems_load() a bit.
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions