17a271c1e7
Resolves: RHEL-20388 Fix CVE-2024-21885 tigervnc: xorg-x11-server: heap buffer overflow in XISendDeviceHierarchyEvent Resolves: RHEL-20382 Fix CVE-2024-0229 tigervnc: xorg-x11-server: reattaching to different master device may lead to out-of-bounds memory access Resolves: RHEL-20530 Fix CVE-2023-6816 tigervnc: xorg-x11-server: Heap buffer overflow in DeviceFocusEvent and ProcXIQueryPointer Resolves: RHEL-21214
14 lines
465 B
Diff
14 lines
465 B
Diff
diff --git a/unix/xserver/hw/vnc/vncInput.c b/unix/xserver/hw/vnc/vncInput.c
|
|
index b3d0926d..d36a096f 100644
|
|
--- a/unix/xserver/hw/vnc/vncInput.c
|
|
+++ b/unix/xserver/hw/vnc/vncInput.c
|
|
@@ -167,7 +167,7 @@ void vncPointerMove(int x, int y)
|
|
|
|
void vncGetPointerPos(int *x, int *y)
|
|
{
|
|
- if (vncPointerDev != NULL) {
|
|
+ if (vncPointerDev != NULL && !IsFloating(vncPointerDev)) {
|
|
ScreenPtr ptrScreen;
|
|
|
|
miPointerGetPosition(vncPointerDev, &cursorPosX, &cursorPosY);
|