[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165153020898.255051.10275204034959482615.b4-ty@sntech.de>
Date: Tue, 3 May 2022 00:24:06 +0200
From: Heiko Stuebner <heiko@...ech.de>
To: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
dri-devel@...ts.freedesktop.org,
Yang Yingliang <yangyingliang@...wei.com>,
linux-rockchip@...ts.infradead.org
Cc: Heiko Stuebner <heiko@...ech.de>, markyao0591@...il.com,
hjc@...k-chips.com, daniel@...ll.ch
Subject: Re: [PATCH] drm/rockchip: vop: fix possible null-ptr-deref in vop_bind()
On Fri, 22 Apr 2022 11:28:54 +0800, Yang Yingliang wrote:
> 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.
Applied, thanks!
[1/1] drm/rockchip: vop: fix possible null-ptr-deref in vop_bind()
commit: f8c242908ad15bbd604d3bcb54961b7d454c43f8
Best regards,
--
Heiko Stuebner <heiko@...ech.de>
Powered by blists - more mailing lists