summaryrefslogtreecommitdiffstats
path: root/extra/source/tigervnc/patches/xorg-server/CVE-2022-46340.correction.patch
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2023-11-13 19:20:40 +0000
committer Eric Hameleers <alien@slackware.com>2023-11-14 13:30:39 +0100
commit3dc24700978e64080d22e59b31a6099bddbdf2d2 (patch)
treec418101646ef36d871a8b065c01fa743a4e0befd /extra/source/tigervnc/patches/xorg-server/CVE-2022-46340.correction.patch
parent048a0f1ff7a9c4a0fe0e65de1e84447e798ef04e (diff)
downloadcurrent-a738d5572b9b0647ecd26764062d3612a95af7b6.tar.gz
current-a738d5572b9b0647ecd26764062d3612a95af7b6.tar.xz
Mon Nov 13 19:20:40 UTC 202320231113192040_15.0
extra/tigervnc/tigervnc-1.12.0-x86_64-4_slack15.0.txz: Rebuilt. Recompiled against xorg-server-1.20.14, including patches for several security issues. Thanks to marav. For more information, see: https://www.cve.org/CVERecord?id=CVE-2022-3550 https://www.cve.org/CVERecord?id=CVE-2022-3551 https://www.cve.org/CVERecord?id=CVE-2022-3553 https://www.cve.org/CVERecord?id=CVE-2022-4283 https://www.cve.org/CVERecord?id=CVE-2022-46340 https://www.cve.org/CVERecord?id=CVE-2022-46341 https://www.cve.org/CVERecord?id=CVE-2022-46342 https://www.cve.org/CVERecord?id=CVE-2022-46343 https://www.cve.org/CVERecord?id=CVE-2022-46344 https://www.cve.org/CVERecord?id=CVE-2023-0494 https://www.cve.org/CVERecord?id=CVE-2023-1393 https://www.cve.org/CVERecord?id=CVE-2023-5367 https://www.cve.org/CVERecord?id=CVE-2023-5380 (* Security fix *)
Diffstat (limited to 'extra/source/tigervnc/patches/xorg-server/CVE-2022-46340.correction.patch')
-rw-r--r--extra/source/tigervnc/patches/xorg-server/CVE-2022-46340.correction.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/source/tigervnc/patches/xorg-server/CVE-2022-46340.correction.patch b/extra/source/tigervnc/patches/xorg-server/CVE-2022-46340.correction.patch
new file mode 100644
index 000000000..ad31c7916
--- /dev/null
+++ b/extra/source/tigervnc/patches/xorg-server/CVE-2022-46340.correction.patch
@@ -0,0 +1,12 @@
+diff -u -r --new-file xorg-server-21.1.5/Xext/xtest.c xorg-server-21.1.6/Xext/xtest.c
+--- xorg-server-21.1.5/Xext/xtest.c 2022-12-13 20:25:18.000000000 -0600
++++ xorg-server-21.1.6/Xext/xtest.c 2022-12-19 04:53:03.000000000 -0600
+@@ -502,7 +502,7 @@
+
+ nev = ((req->length << 2) - sizeof(xReq)) / sizeof(xEvent);
+ for (ev = (xEvent *) &req[1]; --nev >= 0; ev++) {
+- int evtype = ev->u.u.type & 0x177;
++ int evtype = ev->u.u.type & 0177;
+ /* Swap event */
+ proc = EventSwapVector[evtype];
+ /* no swapping proc; invalid event type? */