summaryrefslogtreecommitdiff
path: root/libcli/auth
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-04-11 22:56:09 +0200
committerVolker Lendecke <vl@samba.org>2010-04-11 22:57:25 +0200
commit4d84dab21d1b13bbfe3d8f90c88e41ad3c524bb5 (patch)
tree16c418aaf094890bfb31df1acc6374559287676d /libcli/auth
parentda7294ae0d1c9cdeb1c945f3eb51d2376e7dabf6 (diff)
downloadsamba-4d84dab21d1b13bbfe3d8f90c88e41ad3c524bb5.tar.gz
samba-4d84dab21d1b13bbfe3d8f90c88e41ad3c524bb5.tar.bz2
samba-4d84dab21d1b13bbfe3d8f90c88e41ad3c524bb5.zip
libcli/auth: Fix an uninitialized variable
value.dptr was used uninitialized in the "goto done;"
Diffstat (limited to 'libcli/auth')
-rw-r--r--libcli/auth/schannel_state_tdb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libcli/auth/schannel_state_tdb.c b/libcli/auth/schannel_state_tdb.c
index c1557e8a28..3f6618c744 100644
--- 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);