git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22cee9c
)
Fix Coverity ID 488
author
Volker Lendecke
<vl@samba.org>
Sun, 23 Mar 2008 18:30:47 +0000
(19:30 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sun, 23 Mar 2008 18:44:55 +0000
(19:44 +0100)
"status" was used uninitialized on success -- metze, please check
source/libads/sasl.c
patch
|
blob
|
history
diff --git
a/source/libads/sasl.c
b/source/libads/sasl.c
index 798d0b4365a45e0119b43f953070b9677e4b415c..55bc16a1bedf27b84ef4b1c2495fb25e8222ea6b 100644
(file)
--- a/
source/libads/sasl.c
+++ b/
source/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);