summaryrefslogtreecommitdiff
path: root/drivers/net/wan/lapbether.c
diff options
context:
space:
mode:
authorNatalia Petrova <n.petrova@fintech.ru>2023-05-12 13:33:20 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-06-21 15:39:59 +0200
commit27ab15707ab43ab30f38e844ff3f8289083f34b1 (patch)
tree1aa8980cc923d3c0f1c3f07cc055f26a1d381da2 /drivers/net/wan/lapbether.c
parent2681f84e552ebcbd7ea28d777c7290c58c3282f2 (diff)
drm/nouveau: add nv_encoder pointer check for NULL
[ Upstream commit 55b94bb8c42464bad3d2217f6874aa1a85664eac ] 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 <n.petrova@fintech.ru> Reviewed-by: Lyude Paul <lyude@redhat.com> [Fixed patch title] Signed-off-by: Lyude Paul <lyude@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230512103320.82234-1-n.petrova@fintech.ru Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/wan/lapbether.c')
0 files changed, 0 insertions, 0 deletions