summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-08-10 22:27:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:31:35 -0500
commit457d7fd6727391e8c25b304b554c66d403fe43e2 (patch)
treee7e8f16d093aee76c59483dc4137e9fcc075fb8e
parentf870014fc31c25f35f8c42371106416c61aa17ed (diff)
downloadsamba-457d7fd6727391e8c25b304b554c66d403fe43e2.tar.gz
samba-457d7fd6727391e8c25b304b554c66d403fe43e2.tar.bz2
samba-457d7fd6727391e8c25b304b554c66d403fe43e2.zip
r9233: Ensure that the output variable is initialised in this conversion from
error to non-error case. Andrew Bartlett (This used to be commit ab75cd53e7c65fa6242b8dde3bfede735a6b36d5)
-rw-r--r--source4/auth/gensec/spnego.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/auth/gensec/spnego.c b/source4/auth/gensec/spnego.c
index e3d335b71b..28d76ff5b5 100644
--- a/source4/auth/gensec/spnego.c
+++ b/source4/auth/gensec/spnego.c
@@ -354,6 +354,7 @@ static NTSTATUS gensec_spnego_parse_negTokenInit(struct gensec_security *gensec_
* 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;
}
}