summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-23 19:30:47 +0100
committerVolker Lendecke <vl@samba.org>2008-03-23 19:44:55 +0100
commit1b26a7ea6d00e159b43deec906e6b3971617088a (patch)
treef71ad788346bbf038474b13ea675e38d798d1476
parent561fb9daa4fa361e5db57bcc64f3a3114c6623fa (diff)
downloadsamba-1b26a7ea6d00e159b43deec906e6b3971617088a.tar.gz
samba-1b26a7ea6d00e159b43deec906e6b3971617088a.tar.bz2
samba-1b26a7ea6d00e159b43deec906e6b3971617088a.zip
Fix Coverity ID 488
"status" was used uninitialized on success -- metze, please check (This used to be commit a0859529c853ffb756b1deee946923b6fff6136e)
-rw-r--r--source3/libads/sasl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libads/sasl.c b/source3/libads/sasl.c
index 798d0b4365..55bc16a1be 100644
--- a/source3/libads/sasl.c
+++ b/source3/libads/sasl.c
@@ -597,6 +597,8 @@ static ADS_STATUS ads_sasl_spnego_gsskrb5_bind(ADS_STRUCT *ads, const gss_name_t
context_handle = GSS_C_NO_CONTEXT;
}
+ status = ADS_SUCCESS;
+
failed:
if (context_handle != GSS_C_NO_CONTEXT)
gss_delete_sec_context(&minor_status, &context_handle, GSS_C_NO_BUFFER);