Files
linux/drivers
Yang Yingliang 431fd40a9a drm/rockchip: vop: fix possible null-ptr-deref in vop_bind()
[ Upstream commit f8c242908a ]

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: 2048e3286f ("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
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-06-29 09:26:19 +09:00
..
2023-05-16 12:22:16 +09:00
2023-05-16 12:12:51 +09:00
2023-05-16 12:43:47 +09:00
2023-06-29 09:26:11 +09:00
2023-05-16 09:58:13 +09:00
2023-06-29 09:26:07 +09:00
2023-06-29 09:26:17 +09:00