git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da7294a
)
libcli/auth: Fix an uninitialized variable
author
Volker Lendecke
<vl@samba.org>
Sun, 11 Apr 2010 20:56:09 +0000
(22:56 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sun, 11 Apr 2010 20:57:25 +0000
(22:57 +0200)
value.dptr was used uninitialized in the "goto done;"
libcli/auth/schannel_state_tdb.c
patch
|
blob
|
history
diff --git
a/libcli/auth/schannel_state_tdb.c
b/libcli/auth/schannel_state_tdb.c
index c1557e8a288f0937cb0541e7b67f4a7c91d16280..3f6618c744c1d01180a467293ab9354d01bc19b6 100644
(file)
--- a/
libcli/auth/schannel_state_tdb.c
+++ b/
libcli/auth/schannel_state_tdb.c
@@
-184,8
+184,7
@@
NTSTATUS schannel_fetch_session_key_tdb(struct tdb_wrap *tdb_sc,
SECRETS_SCHANNEL_STATE, name_upper);
TALLOC_FREE(name_upper);
if (!keystr) {
- status = NT_STATUS_NO_MEMORY;
- goto done;
+ return NT_STATUS_NO_MEMORY;
}
value = tdb_fetch_bystring(tdb_sc->tdb, keystr);