mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-12 20:29:12 +00:00
Xext: Fix out of bounds access in SProcScreenSaverSuspend()
ZDI-CAN-14951, CVE-2021-4010
This commit is contained in:
@@ -1350,9 +1350,9 @@ SProcScreenSaverSuspend(ClientPtr client)
|
||||
{
|
||||
REQUEST(xScreenSaverSuspendReq);
|
||||
|
||||
REQUEST_SIZE_MATCH(xScreenSaverSuspendReq);
|
||||
swaps(&stuff->length);
|
||||
swapl(&stuff->suspend);
|
||||
REQUEST_SIZE_MATCH(xScreenSaverSuspendReq);
|
||||
return ProcScreenSaverSuspend(client);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user