aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorMa Ke <[email protected]>2024-06-27 15:42:04 +0800
committerLyude Paul <[email protected]>2024-06-28 14:00:10 -0400
commit80bec6825b19d95ccdfd3393cf8ec15ff2a749b4 (patch)
treeea75723f87854e52bacda5d8def0ff5e9b964f67 /scripts/bpf_doc.py
parent3285d8f0a2ede604c368155c9c0921e16d41f70a (diff)
drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes
In nouveau_connector_get_modes(), the return value of drm_mode_duplicate() is assigned to mode, which will lead to a possible NULL pointer dereference on failure of drm_mode_duplicate(). Add a check to avoid npd. Cc: [email protected] Fixes: 6ee738610f41 ("drm/nouveau: Add DRM driver for NVIDIA GPUs") Signed-off-by: Ma Ke <[email protected]> Signed-off-by: Lyude Paul <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions