xserver: Avoid sending uninitialized padding data over the network
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
committed by
Peter Hutterer
parent
b735a4b495
commit
ddb8d8945d
@@ -245,7 +245,8 @@ ProcRRXineramaIsActive(ClientPtr client)
|
||||
xXineramaIsActiveReply rep;
|
||||
|
||||
REQUEST_SIZE_MATCH(xXineramaIsActiveReq);
|
||||
|
||||
|
||||
memset(&rep, 0, sizeof(xXineramaIsActiveReply));
|
||||
rep.type = X_Reply;
|
||||
rep.length = 0;
|
||||
rep.sequenceNumber = client->sequence;
|
||||
|
||||
Reference in New Issue
Block a user