From fd96a5729427a8d0eeb92cc60e5805204dc020c4 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);