From 67f81d3f0f51f3c680d6c89ce38b8adce4d9a3b9 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 6 Aug 2024 15:20:25 +0200 Subject: [PATCH] (!1639) Xext: selinux: drop swapping request length fields The request struct's length fields aren't used anymore - we have the client->req_len field instead, which also is bigreq-compatible. Signed-off-by: Enrico Weigelt, metux IT consult --- Xext/xselinux_ext.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/Xext/xselinux_ext.c b/Xext/xselinux_ext.c index 534d50b71..ef9eb3f60 100644 --- a/Xext/xselinux_ext.c +++ b/Xext/xselinux_ext.c @@ -627,8 +627,6 @@ SProcSELinuxDispatch(ClientPtr client) { REQUEST(xReq); - swaps(&stuff->length); - switch (stuff->data) { case X_SELinuxQueryVersion: return SProcSELinuxQueryVersion(client);