aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorNatalia Petrova <[email protected]>2023-05-12 13:33:20 +0300
committerLyude Paul <[email protected]>2023-06-13 16:53:00 -0400
commit55b94bb8c42464bad3d2217f6874aa1a85664eac (patch)
tree8c2d1fc76afea503890ff2bf9a694cb888ae7605 /lib/mpi/mpi-sub-ui.c
parent20a2ce87fbaf81e4c3dcb631d738e423959eb320 (diff)
drm/nouveau: add nv_encoder pointer check for NULL
Pointer nv_encoder could be dereferenced at nouveau_connector.c in case it's equal to NULL by jumping to goto label. This patch adds a NULL-check to avoid it. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: 3195c5f9784a ("drm/nouveau: set encoder for lvds") Signed-off-by: Natalia Petrova <[email protected]> Reviewed-by: Lyude Paul <[email protected]> [Fixed patch title] Signed-off-by: Lyude Paul <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions