summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-08-18 20:37:26 +0000
committerAndrew Bartlett <abartlet@samba.org>2013-08-19 11:16:26 +1200
commit980c757388b9cd3a376cf45fc98b01c65124c6a5 (patch)
treea340707bff7f6961251cff3d5a110ebed57c62fa
parent2055ce1dbe94a7f02497e72652a58736ff1cf2e0 (diff)
downloadsamba-980c757388b9cd3a376cf45fc98b01c65124c6a5.tar.gz
samba-980c757388b9cd3a376cf45fc98b01c65124c6a5.tar.bz2
samba-980c757388b9cd3a376cf45fc98b01c65124c6a5.zip
gensec: Fix CID 1063258 Uninitialized scalar variable
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--auth/gensec/gensec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/auth/gensec/gensec.c b/auth/gensec/gensec.c
index abcbcb9506..63ebc19c81 100644
--- a/auth/gensec/gensec.c
+++ b/auth/gensec/gensec.c
@@ -273,6 +273,7 @@ _PUBLIC_ NTSTATUS gensec_update(struct gensec_security *gensec_security, TALLOC_
subreq = ops->update_send(frame, ev, gensec_security, in);
if (subreq == NULL) {
+ status = NT_STATUS_NO_MEMORY;
goto fail;
}
ok = tevent_req_poll_ntstatus(subreq, ev, &status);