[PATCH 4/4] libcli: Make sure status is initialized.

Andreas Schneider asn at samba.org
Thu Oct 30 09:12:19 MDT 2014


Signed-off-by: Andreas Schneider <asn at samba.org>
---
 libcli/cldap/cldap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcli/cldap/cldap.c b/libcli/cldap/cldap.c
index df81767..964cb0a 100644
--- a/libcli/cldap/cldap.c
+++ b/libcli/cldap/cldap.c
@@ -1020,7 +1020,7 @@ NTSTATUS cldap_netlogon_recv(struct tevent_req *req,
 {
 	struct cldap_netlogon_state *state = tevent_req_data(req,
 					     struct cldap_netlogon_state);
-	NTSTATUS status;
+	NTSTATUS status = NT_STATUS_UNSUCCESSFUL;
 	DATA_BLOB *data;
 
 	if (tevent_req_is_nterror(req, &status)) {
-- 
2.1.2




More information about the samba-technical mailing list