git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
561fb9d
)
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
(This used to be commit
a0859529c853ffb756b1deee946923b6fff6136e
)
source3/libads/sasl.c
patch
|
blob
|
history
diff --git
a/source3/libads/sasl.c
b/source3/libads/sasl.c
index 798d0b4365a45e0119b43f953070b9677e4b415c..55bc16a1bedf27b84ef4b1c2495fb25e8222ea6b 100644
(file)
--- 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);