Re: [PATCH V2] drm/tegra: fix a possible null pointer dereference
From: Thierry Reding
Date: Thu Jun 27 2024 - 03:52:01 EST
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
Attachment:
signature.asc
Description: PGP signature