From 5d48f288eccb57dfe1751946c9d60dbd3ac0129a Mon Sep 17 00:00:00 2001 From: Eamon Walsh Date: Thu, 16 Apr 2009 22:39:54 -0400 Subject: [PATCH] security: Fix a crash caused by wrong ordering of format arguments. (cherry picked from commit 3481b32ab971c41cb972f6819ae049f3e9f7033b) --- Xext/security.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Xext/security.c b/Xext/security.c index 4b34bb04c..e660cc8fc 100644 --- a/Xext/security.c +++ b/Xext/security.c @@ -948,9 +948,10 @@ SecuritySend(CallbackListPtr *pcbl, pointer unused, pointer calldata) SecurityAudit("Security: denied client %d from sending event " "of type %s to window 0x%x of client %d\n", - rec->client->index, rec->pWin->drawable.id, - wClient(rec->pWin)->index, - LookupEventName(rec->events[i].u.u.type)); + rec->client->index, + LookupEventName(rec->events[i].u.u.type), + rec->pWin->drawable.id, + wClient(rec->pWin)->index); rec->status = BadAccess; return; }