diff options
| author | Huai-Yuan Liu <[email protected]> | 2024-04-07 06:30:53 +0000 |
|---|---|---|
| committer | Liviu Dudau <[email protected]> | 2024-04-12 11:57:59 +0000 |
| commit | a1f95aede6285dba6dd036d907196f35ae3a11ea (patch) | |
| tree | 2eede0fd00c3e6df39f8e860b128469e2d8568a0 /drivers/gpu/drm/lima/lima_sched.h | |
| parent | drm/i915: Add SIZE_HINTS property for cursors (diff) | |
| download | kernel-a1f95aede6285dba6dd036d907196f35ae3a11ea.tar.gz kernel-a1f95aede6285dba6dd036d907196f35ae3a11ea.zip | |
drm/arm/malidp: fix a possible null pointer dereference
In malidp_mw_connector_reset, new memory is allocated with kzalloc, but
no check is performed. In order to prevent null pointer dereferencing,
ensure that mw_state is checked before calling
__drm_atomic_helper_connector_reset.
Fixes: 8cbc5caf36ef ("drm: mali-dp: Add writeback connector")
Signed-off-by: Huai-Yuan Liu <[email protected]>
Signed-off-by: Liviu Dudau <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.h')
0 files changed, 0 insertions, 0 deletions
