aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorNatalia Petrova <n.petrova@fintech.ru>2023-05-12 14:15:26 +0300
committerLyude Paul <lyude@redhat.com>2023-06-13 16:50:06 -0400
commit20a2ce87fbaf81e4c3dcb631d738e423959eb320 (patch)
treec4da04baf71693013b67e2471430264385294df1 /scripts/generate_rust_analyzer.py
parentdrm/bridge: ti-sn65dsi86: Avoid possible buffer overflow (diff)
downloadwireguard-linux-20a2ce87fbaf81e4c3dcb631d738e423959eb320.tar.xz
wireguard-linux-20a2ce87fbaf81e4c3dcb631d738e423959eb320.zip
drm/nouveau/dp: check for NULL nv_connector->native_mode
Add checking for NULL before calling nouveau_connector_detect_depth() in nouveau_connector_get_modes() function because nv_connector->native_mode could be dereferenced there since connector pointer passed to nouveau_connector_detect_depth() and the same value of nv_connector->native_mode is used there. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: d4c2c99bdc83 ("drm/nouveau/dp: remove broken display depth function, use the improved one") Signed-off-by: Natalia Petrova <n.petrova@fintech.ru> Reviewed-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Lyude Paul <lyude@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230512111526.82408-1-n.petrova@fintech.ru
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions