зеркало из https://github.com/github/putty.git
Make sure that auth->xdmseen is initialised (to NULL) even if it's not used.
[originally from svn r5375]
This commit is contained in:
Родитель
38c9737e19
Коммит
f09e3841de
1
x11fwd.c
1
x11fwd.c
|
@ -111,6 +111,7 @@ void *x11_invent_auth(char *proto, int protomaxlen,
|
|||
auth->fakelen = 16;
|
||||
for (i = 0; i < 16; i++)
|
||||
auth->fakedata[i] = random_byte();
|
||||
auth->xdmseen = NULL;
|
||||
} else {
|
||||
assert(proto_id == X11_XDM);
|
||||
auth->fakeproto = X11_XDM;
|
||||
|
|
Загрузка…
Ссылка в новой задаче