FreeBSD Bugzilla – Attachment 233226 Details for
Bug 263286
x11-servers/xorg-server: X server crash in present extension
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
X server present extension patch
xorg-server_present-extension.patch (text/plain), 1012 bytes, created by
Sean Farley
on 2022-04-14 21:48:35 UTC
(
hide
)
Description:
X server present extension patch
Filename:
MIME Type:
Creator:
Sean Farley
Created:
2022-04-14 21:48:35 UTC
Size:
1012 bytes
patch
obsolete
>diff --git a/x11-servers/xorg-server/files/patch-present_present__scmd.c b/x11-servers/xorg-server/files/patch-present_present__scmd.c >new file mode 100644 >index 000000000000..d31ef7f7a311 >--- /dev/null >+++ b/x11-servers/xorg-server/files/patch-present_present__scmd.c >@@ -0,0 +1,27 @@ >+# present: Check for NULL to prevent crash >+# >+# https://gitlab.freedesktop.org/xorg/xserver/-/issues/1275 >+ >+diff --git a/present/present_scmd.c b/present/present_scmd.c >+--- present/present_scmd.c.orig >++++ present/present_scmd.c >+@@ -168,6 +168,9 @@ present_scmd_get_crtc(present_screen_priv_ptr screen_priv, WindowPtr window) >+ if (!screen_priv->info) >+ return NULL; >+ >++ if (!screen_priv->info->get_crtc) >++ return NULL; >++ >+ return (*screen_priv->info->get_crtc)(window); >+ } >+ >+@@ -206,6 +209,9 @@ present_flush(WindowPtr window) >+ if (!screen_priv->info) >+ return; >+ >++ if (!screen_priv->info->flush) >++ return; >++ >+ (*screen_priv->info->flush) (window); >+ } >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 263286
: 233226