diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2009-04-16 22:39:54 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2009-04-16 23:50:05 -0400 |
commit | a26ae2c63d73b6f8cfb9757c4db451bc68e6a947 (patch) | |
tree | 0c364288943fa8c484eb14455759da65d6f42ece | |
parent | 62aa06d499bd2dbcdf04a8bd9c0556b54333bc31 (diff) |
security: Fix a crash caused by wrong ordering of format arguments.
(cherry picked from commit 3481b32ab971c41cb972f6819ae049f3e9f7033b)
-rw-r--r-- | Xext/security.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Xext/security.c b/Xext/security.c index 99f4e5610..d185ee35e 100644 --- a/Xext/security.c +++ b/Xext/security.c @@ -955,9 +955,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; } |