diff options
author | 2023-10-08 11:29:08 +0800 | |
---|---|---|
committer | 2023-10-10 10:30:29 +0800 | |
commit | 1558b1a8dd388f5fcc3abc1e24de854a295044c3 (patch) | |
tree | a01bd59c5cd2aeebf2f867434aeffd0763210774 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | arm64: dts: imx: Add imx8mm-prt8mm.dtb to build (diff) | |
download | wireguard-linux-1558b1a8dd388f5fcc3abc1e24de854a295044c3.tar.xz wireguard-linux-1558b1a8dd388f5fcc3abc1e24de854a295044c3.zip |
firmware/imx-dsp: Fix use_after_free in imx_dsp_setup_channels()
dsp_chan->name and chan_name points to same block of memory,
because dev_err still needs to be used it,so we need free
it's memory after use to avoid use_after_free.
Fixes: e527adfb9b7d ("firmware: imx-dsp: Fix an error handling path in imx_dsp_setup_channels()")
Signed-off-by: Hao Ge <gehao@kylinos.cn>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions