summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2026-06-11 13:27:30 +0300
committerRob Clark <robin.clark@oss.qualcomm.com>2026-07-16 13:35:20 -0700
commitb8a9c9c5787bed1243e5364c89ca66c26b4e4d83 (patch)
treedeccf8047e98ff897ea93fb024e5aa94c22641b9 /tools/perf/scripts/python/bin/stackcollapse-report
parent44784327815b2a1ad8bb56b9236770cb538c7c27 (diff)
drm/msm/adreno: fix use after free on error path in a6xx_gpu_init()
The a6xx_destroy() function frees "a6xx_gpu" and so "adreno_gpu" points to freed memory. Preserve the error code before freeing the memory to avoid a use after free. Fixes: d158886cba08 ("drm/msm/adreno: Trust the SSoT UBWC config") Signed-off-by: Dan Carpenter <error27@gmail.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Patchwork: https://patchwork.freedesktop.org/patch/732275/ Message-ID: <aiqNktNfXiaPhje3@stanley.mountain> Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions