diff options
author | 2024-04-09 10:56:22 +0300 | |
---|---|---|
committer | 2024-04-15 09:13:10 +0200 | |
commit | c534b63bede6cb987c2946ed4d0b0013a52c5ba7 (patch) | |
tree | 2f02b9c5039bc6165080fdcd0be8a86791c1c357 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm: Document requirements for driver-specific KMS props in new drivers (diff) | |
download | wireguard-linux-c534b63bede6cb987c2946ed4d0b0013a52c5ba7.tar.xz wireguard-linux-c534b63bede6cb987c2946ed4d0b0013a52c5ba7.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions