[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <D2AMWY1MS3UJ.2GTU7S0UQG8KZ@gmail.com>
Date: Thu, 27 Jun 2024 09:51:52 +0200
From: "Thierry Reding" <thierry.reding@...il.com>
To: "Huai-Yuan Liu" <qq810974084@...il.com>, <mperttunen@...dia.com>,
<airlied@...il.com>, <daniel@...ll.ch>, <jonathanh@...dia.com>
Cc: <dri-devel@...ts.freedesktop.org>, <linux-tegra@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <baijiaju1990@...il.com>
Subject: Re: [PATCH V2] drm/tegra: fix a possible null pointer dereference
On Sun Jun 2, 2024 at 10:46 AM CEST, Huai-Yuan Liu wrote:
> In malidp_tegra_crtc_reset, new memory is allocated with kzalloc, but
> no check is performed. Before calling __drm_atomic_helper_crtc_reset,
> mw_state should be checked to prevent possible null pointer dereference.
The commit message here still references variables that don't exist in
this driver. Looks like copy/paste leftovers from a similar patch?
Thierry
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists