[PATCH RESEND] drm/sti: avoid potential dereference of error pointers

Raphaël Gallais-Pou rgallaispou at gmail.com
Thu Aug 29 17:01:29 UTC 2024



Le 26/08/2024 à 07:26, Ma Ke a écrit :
> The return value of drm_atomic_get_crtc_state() needs to be
> checked. To avoid use of error pointer 'crtc_state' in case
> of the failure.
>
> Cc: stable at vger.kernel.org
> Fixes: dec92020671c ("drm: Use the state pointer directly in planes atomic_check")
>
> Signed-off-by: Ma Ke <make24 at iscas.ac.cn>
>
Hi,

Tested-by: Raphaël Gallais-Pou <rgallaispou at gmail.com>

Regards,
Raphaël


More information about the dri-devel mailing list