diff options
author | Aleksandr Mishin <amishin@t-argos.ru> | 2024-04-09 10:56:22 +0300 |
---|---|---|
committer | Maxime Ripard <mripard@kernel.org> | 2024-04-15 09:13:10 +0200 |
commit | c534b63bede6cb987c2946ed4d0b0013a52c5ba7 (patch) | |
tree | 2f02b9c5039bc6165080fdcd0be8a86791c1c357 /scripts/lib/kdoc/kdoc_output.py | |
parent | f99885b15b2d230d2d1d75e5e542ecaacd29733f (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/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions