mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
[PR #897] Xext: security: inline SProc*()'s
PR: https://github.com/X11Libre/xserver/pull/897
This commit is contained in:
@@ -444,6 +444,15 @@ ProcSecurityGenerateAuthorization(ClientPtr client)
|
||||
return BadValue;
|
||||
}
|
||||
|
||||
if (client->swapped) {
|
||||
swaps(&stuff->nbytesAuthProto);
|
||||
swaps(&stuff->nbytesAuthData);
|
||||
swapl(&stuff->valueMask);
|
||||
|
||||
unsigned long nvalues = (((CARD32 *) stuff) + client->req_len) - values;
|
||||
SwapLongs(values, nvalues);
|
||||
}
|
||||
|
||||
/* check timeout */
|
||||
timeout = 60;
|
||||
if (stuff->valueMask & XSecurityTimeout) {
|
||||
|
||||
Reference in New Issue
Block a user