~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Patch from Iain Patterson: fix crash on Windows when GSSAPI auth is attempted
[sgt/putty]
/
windows
/
wingss.c
diff --git
a/windows/wingss.c
b/windows/wingss.c
index
5125a3a
..
5cf7e0f
100644
(file)
--- a/
windows/wingss.c
+++ b/
windows/wingss.c
@@
-96,6
+96,7
@@
Ssh_gss_stat ssh_gss_import_name(char *host, Ssh_gss_name *srv_name)
Ssh_gss_stat ssh_gss_acquire_cred(Ssh_gss_ctx *ctx)
{
winSsh_gss_ctx *winctx = snew(winSsh_gss_ctx);
+ memset(winctx, 0, sizeof(winSsh_gss_ctx));
/* prepare our "wrapper" structure */
winctx->maj_stat = winctx->min_stat = SEC_E_OK;