]> git.ipfire.org Git - thirdparty/samba.git/commit
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)
committerStefan Metzmacher <metze@samba.org>
Wed, 5 Sep 2018 11:35:25 +0000 (13:35 +0200)
commitf77ea3554e3a94afd3ceb4e06829ba5d89bc9d28
treee9eefa371fb1927d4120506ff13396aa2a08a818
parentf73ef3564f701b26143130823cfb72bb7d06fabb
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