From 980c757388b9cd3a376cf45fc98b01c65124c6a5 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 18 Aug 2013 20:37:26 +0000 Subject: gensec: Fix CID 1063258 Uninitialized scalar variable Signed-off-by: Volker Lendecke Reviewed-by: Andrew Bartlett --- auth/gensec/gensec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'auth/gensec') 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); -- cgit