summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHaoxiang Li <haoxiang_li2024@163.com>2026-06-20 20:06:31 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-07-10 15:14:28 +0200
commit612551bf7cf7113b8bbd5e8c1eea86d9427c2f95 (patch)
tree84cb2cc6e90a49f67c697732c538c3e0e91beb4b /tools/perf/scripts/python/stackcollapse.py
parentdd9483726d0f16c1a56879c3edb65128259a4e2b (diff)
usb: fsl_qe_udc: check qe_alloc_request() failure in ch9getstatus()
qe_alloc_request() may return NULL on allocation failure. ch9getstatus() passes the return value directly to container_of() and then immediately dereferences the resulting qe_req pointer. Check the allocation result before using it and stall the control request on failure. Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com> Link: https://patch.msgid.link/20260620120631.2894977-1-haoxiang_li2024@163.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions