s4:rpc_server/netlogon: make use of talloc_zero_array() for the netr_OneDomainInfo...
authorStefan Metzmacher <metze@samba.org>
Tue, 28 Aug 2018 14:30:17 +0000 (16:30 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 4 Sep 2018 00:31:27 +0000 (02:31 +0200)
commitef0b489ad0d93199e08415dd895da5cfe2d1c11a
tree25cca834e4716ad4ac5925bdf4b1cb87ad061292
parent61333f7787d78e3ec5c7bd2874d5a0f1f536275a
s4:rpc_server/netlogon: make use of talloc_zero_array() for the netr_OneDomainInfo array

It's much safer than having uninitialized memory when we hit an error
case.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/rpc_server/netlogon/dcerpc_netlogon.c