Re: [PATCH v10 02/69] drm/connector: hdmi: Handle reset() state allocation failure
"Maxime Ripard" <[email protected]>
| Newsgroups | gmane.linux.kernel,gmane.comp.video.dri.devel,gmane.linux.ports.arm.kernel,gmane.linux.ports.arm.rockchip |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 31 Jul 2026 19:19:09 +0300, Cristian Ciocaltea wrote: > In drmm_connector_hdmi_init(), if the reset callback fails to allocate > memory, e.g. inside drm_atomic_helper_connector_reset(), > connector->state will remain NULL. This is unconditionally passed to > drm_connector_attach_max_bpc_property(), leading to a NULL pointer > dereference. > > [ ... ] Reviewed-by: Maxime Ripard <[email protected]> Thanks! Maxime