From 98e27c6e3639fcd6dcba4eb0a356d9ed8a90e7f7 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 6 Aug 2024 15:20:25 +0200 Subject: [PATCH] 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 Part-of: (cherry picked from commit 8a5d2a1335af18fe5254274692a8e1ba19c2760f) --- Xext/xselinux_ext.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/Xext/xselinux_ext.c b/Xext/xselinux_ext.c index 321620c11..2ae8c6431 100644 --- a/Xext/xselinux_ext.c +++ b/Xext/xselinux_ext.c @@ -624,8 +624,6 @@ SProcSELinuxDispatch(ClientPtr client) { REQUEST(xReq); - swaps(&stuff->length); - switch (stuff->data) { case X_SELinuxQueryVersion: return SProcSELinuxQueryVersion(client);