summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-12-17 18:00:07 +0300
committerMark Brown <broonie@kernel.org>2021-12-21 21:05:40 +0300
commitac1e6bc146d45e15f0a5c0908338f918f6261388 (patch)
tree256201d9a93e8927b1f4d82435eba71f2ce32061 /tools/perf/scripts
parent2dc643cd756398c3013fcc2d3c2a07c9c4a0a3bd (diff)
downloadlinux-ac1e6bc146d45e15f0a5c0908338f918f6261388.tar.xz
ASoC: qdsp6: fix a use after free bug in open()
This code frees "graph" and then dereferences to save the error code. Save the error code first and then use gotos to unwind the allocation. Fixes: 59716aa3f976 ("ASoC: qdsp6: Fix an IS_ERR() vs NULL bug") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/20211217150007.GB16611@kili Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions