From 62cad154f4e71d5ae4800ec13d4174f49b9aeb2c Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Wed, 26 Nov 2008 14:11:49 +0000 Subject: [PATCH] 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 == 81dafd906eb4817393fabe4d408c16de8586de8b] --- windows/wingss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/wingss.c b/windows/wingss.c index 773e6609..742106e8 100644 --- a/windows/wingss.c +++ b/windows/wingss.c @@ -253,7 +253,7 @@ Ssh_gss_stat ssh_gss_display_status(Ssh_gss_ctx ctx, Ssh_gss_buf *buf) } buf->value = dupstr(msg); - buf->length = strlen(buf->length); + buf->length = strlen(buf->value); return SSH_GSS_OK; }