Author: abartlet
Date: 2005-08-10 22:27:04 +0000 (Wed, 10 Aug 2005)
New Revision: 9233

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9233

Log:
Ensure that the output variable is initialised in this conversion from
error to non-error case.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/auth/gensec/spnego.c


Changeset:
Modified: branches/SAMBA_4_0/source/auth/gensec/spnego.c
===================================================================
--- branches/SAMBA_4_0/source/auth/gensec/spnego.c      2005-08-10 20:47:03 UTC 
(rev 9232)
+++ branches/SAMBA_4_0/source/auth/gensec/spnego.c      2005-08-10 22:27:04 UTC 
(rev 9233)
@@ -354,6 +354,7 @@
                         * for better luck next time */
 
                        if (NT_STATUS_EQUAL(nt_status, 
NT_STATUS_INVALID_PARAMETER)) {
+                               *unwrapped_out = data_blob(NULL, 0);
                                nt_status = NT_STATUS_MORE_PROCESSING_REQUIRED;
                        }
                }

Reply via email to