mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-24 04:18:12 +02:00
Function `xwl_glamor_gbm_init_main_dev` does not check whether `xwl_screen->default_feedback.main_dev` a.k.a. `main_dev` is a valid pointer. This result in some special situation where main linux-dmabuf device is not accessible, such as KWin nested desktop, raising segment fault. This commit add a null pointer check to prevent crashing. Signed-off-by: Chenx Dust <chenx_dust@outlook.com> Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1683 Fixes: |
||
|---|---|---|
| .. | ||
| kdrive | ||
| vfb | ||
| xfree86 | ||
| xnest | ||
| xquartz | ||
| xwayland | ||
| xwin | ||
| meson.build | ||