summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-04-22 06:28:54 +0300
committerHeiko Stuebner <heiko@sntech.de>2022-05-03 00:22:05 +0300
commitf8c242908ad15bbd604d3bcb54961b7d454c43f8 (patch)
tree81c4cc51b0370cae84b9364bc5fbd2fd411af1e2 /tools/perf/scripts/python/stackcollapse.py
parent6a47a16dcef3fdda79a95452964d001a620db473 (diff)
downloadlinux-f8c242908ad15bbd604d3bcb54961b7d454c43f8.tar.xz
drm/rockchip: vop: fix possible null-ptr-deref in vop_bind()
It will cause null-ptr-deref in resource_size(), if platform_get_resource() returns NULL, move calling resource_size() after devm_ioremap_resource() that will check 'res' to avoid null-ptr-deref. Fixes: 2048e3286f34 ("drm: rockchip: Add basic drm driver") Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patchwork.freedesktop.org/patch/msgid/20220422032854.2995175-1-yangyingliang@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions