mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-30 21:53:25 +00:00
xserver: Avoid sending uninitialized padding data over the network
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
b735a4b495
commit
ddb8d8945d
24 changed files with 86 additions and 16 deletions
|
|
@ -1144,6 +1144,7 @@ ProcSyncInitialize(ClientPtr client)
|
|||
|
||||
REQUEST_SIZE_MATCH(xSyncInitializeReq);
|
||||
|
||||
memset(&rep, 0, sizeof(xSyncInitializeReply));
|
||||
rep.type = X_Reply;
|
||||
rep.sequenceNumber = client->sequence;
|
||||
rep.majorVersion = SYNC_MAJOR_VERSION;
|
||||
|
|
|
|||
Loading…
Reference in a new issue