From 4899be3fcb4a3f3dbb2b5732058005d7d5c85581 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 4 Oct 2008 19:35:51 -0700 Subject: [PATCH] Fix an uninitialized variable found by the IBM Checker (cherry picked from commit 2a4bf6cc1f7f20b9c95e4166b366990ed330604e) --- source/libads/ldap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/libads/ldap.c b/source/libads/ldap.c index eb45e3a0dd7..03d02fc3440 100644 --- a/source/libads/ldap.c +++ b/source/libads/ldap.c @@ -2828,6 +2828,7 @@ ADS_STATUS ads_domain_func_level(ADS_STRUCT *ads, uint32 *val) if ( (ads_s = ads_init( ads->server.realm, ads->server.workgroup, ads->server.ldap_server )) == NULL ) { + status = ADS_ERROR_NT(NT_STATUS_NO_MEMORY); goto done; } ads_s->auth.flags = ADS_AUTH_ANON_BIND; -- 2.11.4.GIT