1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Fix a Windows-specific GSS crash introduced in r8326, which (again) apparently

triggers in failure cases. Patch by Iain Patterson.

[originally from svn r8336]
[r8326 == 81dafd906e]
This commit is contained in:
Jacob Nevins 2008-11-26 14:11:49 +00:00
parent 86c183f8e8
commit 62cad154f4

View File

@ -253,7 +253,7 @@ Ssh_gss_stat ssh_gss_display_status(Ssh_gss_ctx ctx, Ssh_gss_buf *buf)
} }
buf->value = dupstr(msg); buf->value = dupstr(msg);
buf->length = strlen(buf->length); buf->length = strlen(buf->value);
return SSH_GSS_OK; return SSH_GSS_OK;
} }