mirror of
git://slackware.nl/current.git
synced 2024-12-31 10:28:29 +01:00
4b5e1863bb
patches/packages/openssl-1.1.1t-x86_64-1_slack15.0.txz: Upgraded. This update fixes security issues: X.400 address type confusion in X.509 GeneralName. Timing Oracle in RSA Decryption. Use-after-free following BIO_new_NDEF. Double free after calling PEM_read_bio_ex. For more information, see: https://www.openssl.org/news/secadv/20230207.txt https://www.cve.org/CVERecord?id=CVE-2023-0286 https://www.cve.org/CVERecord?id=CVE-2022-4304 https://www.cve.org/CVERecord?id=CVE-2023-0215 https://www.cve.org/CVERecord?id=CVE-2022-4450 (* Security fix *) patches/packages/openssl-solibs-1.1.1t-x86_64-1_slack15.0.txz: Upgraded. patches/packages/xorg-server-1.20.14-x86_64-7_slack15.0.txz: Rebuilt. [PATCH] Xi: fix potential use-after-free in DeepCopyPointerClasses. Also merged another patch to prevent crashes when using a compositor with the NVIDIA blob. Thanks to mdinslage, willysr, and Daedra. For more information, see: https://www.cve.org/CVERecord?id=CVE-2023-0494 (* Security fix *) patches/packages/xorg-server-xephyr-1.20.14-x86_64-7_slack15.0.txz: Rebuilt. patches/packages/xorg-server-xnest-1.20.14-x86_64-7_slack15.0.txz: Rebuilt. patches/packages/xorg-server-xvfb-1.20.14-x86_64-7_slack15.0.txz: Rebuilt. patches/packages/xorg-server-xwayland-21.1.4-x86_64-6_slack15.0.txz: Rebuilt. [PATCH] Xi: fix potential use-after-free in DeepCopyPointerClasses. Also merged another patch to prevent crashes when using a compositor with the NVIDIA blob. Thanks to mdinslage, willysr, and Daedra. For more information, see: https://www.cve.org/CVERecord?id=CVE-2023-0494 (* Security fix *)
43 lines
1.2 KiB
Diff
43 lines
1.2 KiB
Diff
From d2ce97bd02c16ae162c49f76a00fc858035f288e Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?B=C5=82a=C5=BCej=20Szczygie=C5=82?= <spaz16@wp.pl>
|
|
Date: Thu, 13 Jan 2022 00:47:27 +0100
|
|
Subject: [PATCH] present: Check for NULL to prevent crash
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1275
|
|
Signed-off-by: Błażej Szczygieł <spaz16@wp.pl>
|
|
Tested-by: Aaron Plattner <aplattner@nvidia.com>
|
|
(cherry picked from commit 22d5818851967408bb7c903cb345b7ca8766094c)
|
|
---
|
|
present/present_scmd.c | 6 ++++++
|
|
1 file changed, 6 insertions(+)
|
|
|
|
diff --git a/present/present_scmd.c b/present/present_scmd.c
|
|
index 3c68e690b..11391adbb 100644
|
|
--- a/present/present_scmd.c
|
|
+++ b/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);
|
|
}
|
|
|
|
--
|
|
GitLab
|
|
|