[PATCH 3/4] torture: Make sure server_type isn't used uninitialized.
Andreas Schneider
asn at samba.org
Thu Oct 30 09:12:18 MDT 2014
Signed-off-by: Andreas Schneider <asn at samba.org>
---
source4/torture/ldap/netlogon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source4/torture/ldap/netlogon.c b/source4/torture/ldap/netlogon.c
index 064a5b3..d632aaf 100644
--- a/source4/torture/ldap/netlogon.c
+++ b/source4/torture/ldap/netlogon.c
@@ -296,7 +296,7 @@ static bool test_ldap_netlogon_flags(struct torture_context *tctx,
NTSTATUS status;
struct cldap_netlogon search;
struct netlogon_samlogon_response n1;
- uint32_t server_type;
+ uint32_t server_type = 0;
printf("Printing out netlogon server type flags: %s\n", dest);
--
2.1.2
More information about the samba-technical
mailing list