security: Fix a crash caused by wrong ordering of format arguments.
This commit is contained in:
		
							parent
							
								
									6045506be0
								
							
						
					
					
						commit
						3481b32ab9
					
				| 
						 | 
					@ -948,9 +948,10 @@ SecuritySend(CallbackListPtr *pcbl, pointer unused, pointer calldata)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		SecurityAudit("Security: denied client %d from sending event "
 | 
							SecurityAudit("Security: denied client %d from sending event "
 | 
				
			||||||
			      "of type %s to window 0x%x of client %d\n",
 | 
								      "of type %s to window 0x%x of client %d\n",
 | 
				
			||||||
			      rec->client->index, rec->pWin->drawable.id,
 | 
								      rec->client->index,
 | 
				
			||||||
			      wClient(rec->pWin)->index,
 | 
								      LookupEventName(rec->events[i].u.u.type),
 | 
				
			||||||
			      LookupEventName(rec->events[i].u.u.type));
 | 
								      rec->pWin->drawable.id,
 | 
				
			||||||
 | 
								      wClient(rec->pWin)->index);
 | 
				
			||||||
		rec->status = BadAccess;
 | 
							rec->status = BadAccess;
 | 
				
			||||||
		return;
 | 
							return;
 | 
				
			||||||
	    }
 | 
						    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue