s4:rpc_server/netlogon: make use of talloc_zero_array() for the netr_OneDomainInfo...
commit73e383f212af7d17838ba18ec2811267f302fc30
authorStefan Metzmacher <metze@samba.org>
Tue, 28 Aug 2018 14:30:17 +0000 (28 16:30 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 5 Sep 2018 11:31:43 +0000 (5 13:31 +0200)
tree9770bb4c42fa9e11069c3470ae28b69b4c697d22
parent2e7e58a586b48667bb28fee12c51d1e1fb3635da
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>
(cherry picked from commit ef0b489ad0d93199e08415dd895da5cfe2d1c11a)
source4/rpc_server/netlogon/dcerpc_netlogon.c