aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorAleksandr Mishin <amishin@t-argos.ru>2024-04-09 10:56:22 +0300
committerMaxime Ripard <mripard@kernel.org>2024-04-15 09:13:10 +0200
commitc534b63bede6cb987c2946ed4d0b0013a52c5ba7 (patch)
tree2f02b9c5039bc6165080fdcd0be8a86791c1c357 /scripts/gdb/linux/utils.py
parentf99885b15b2d230d2d1d75e5e542ecaacd29733f (diff)
drm: vc4: Fix possible null pointer dereference
In vc4_hdmi_audio_init() of_get_address() may return NULL which is later dereferenced. Fix this bug by adding NULL check. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: bb7d78568814 ("drm/vc4: Add HDMI audio support") Signed-off-by: Aleksandr Mishin <amishin@t-argos.ru> Signed-off-by: Maxime Ripard <mripard@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20240409075622.11783-1-amishin@t-argos.ru
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions