forked from pool/xorg-x11-server
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
From 5d48f288eccb57dfe1751946c9d60dbd3ac0129a Mon Sep 17 00:00:00 2001
|
|
From: Eamon Walsh <ewalsh@tycho.nsa.gov>
|
|
Date: Thu, 16 Apr 2009 22:39:54 -0400
|
|
Subject: security: Fix a crash caused by wrong ordering of format arguments.
|
|
(cherry picked from commit 3481b32ab971c41cb972f6819ae049f3e9f7033b)
|
|
|
|
---
|
|
Xext/security.c | 7 ++++---
|
|
1 files changed, 4 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/Xext/security.c b/Xext/security.c
|
|
index 4b34bb0..e660cc8 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;
|
|
}
|
|
--
|
|
1.6.1.3
|
|
|