[Freedreno] [PATCH] drm/msm/gem: Add check for kmalloc

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Wed Jan 18 02:06:12 UTC 2023


On Mon, 12 Dec 2022 17:11:17 +0800, Jiasheng Jiang wrote:
> Add the check for the return value of kmalloc in order to avoid
> NULL pointer dereference in copy_from_user.
> 
> 

Applied, thanks!

[1/1] drm/msm/gem: Add check for kmalloc
      https://gitlab.freedesktop.org/lumag/msm/-/commit/d839f0811a31

Best regards,
-- 
Dmitry Baryshkov <dmitry.baryshkov at linaro.org>


More information about the Freedreno mailing list