s3:rpcclient: Initialize domain_name
authorAndreas Schneider <asn@samba.org>
Mon, 12 Nov 2018 09:09:23 +0000 (10:09 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 14 Nov 2018 04:07:15 +0000 (05:07 +0100)
commit56ac8944eb58f234422b4bd4dd9a64b8e51e874d
treed5a7e543e23dd76c2f6cf239067166687050cd2c
parent3634e20c7603103b0f2e00e5b61cc63f905d780d
s3:rpcclient: Initialize domain_name

This could be passed uninitialized to dcerpc_netr_DsRGetDCName()

Found by cppcheck.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13680

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/rpcclient/cmd_netlogon.c