diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2021-12-14 13:42:22 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2021-12-14 13:42:22 +0000 |
commit | 7b0620956725a8e4527f09a8ffff94bea2b72122 (patch) | |
tree | b1aeadb7fafdef74d7d0b026967b8299a1d93a26 /xserver | |
parent | 86972a077b3f686885cfd59ec9f2beac7cccab0d (diff) |
Xext: Fix out of bounds access in SProcScreenSaverSuspend()
ZDI-CAN-14951, CVE-2021-4010
Diffstat (limited to 'xserver')
-rw-r--r-- | xserver/Xext/saver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/Xext/saver.c b/xserver/Xext/saver.c index 1d7e3cadf..d0e20ce3c 100644 --- a/xserver/Xext/saver.c +++ b/xserver/Xext/saver.c @@ -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); } |