mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-28 04:00:07 +01:00
Initialize padding bits to 0 in ErrorConnMax()
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Keith Packard <keithp@keithp.com> Tested-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
parent
bed610fcae
commit
7a29f68782
1 changed files with 1 additions and 1 deletions
|
|
@ -892,7 +892,7 @@ ErrorConnMax(XtransConnInfo trans_conn)
|
|||
{
|
||||
int fd = _XSERVTransGetConnectionNumber(trans_conn);
|
||||
xConnSetupPrefix csp;
|
||||
char pad[3];
|
||||
char pad[3] = { 0, 0, 0 };
|
||||
struct iovec iov[3];
|
||||
char byteOrder = 0;
|
||||
int whichbyte = 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue