Zero libnet_LookupName out struct before using
authorSwen Schillig <swen@vnet.ibm.com>
Fri, 26 Jan 2018 12:28:58 +0000 (13:28 +0100)
committerChristof Schmitt <cs@samba.org>
Fri, 2 Mar 2018 18:13:52 +0000 (19:13 +0100)
commit14f83ff83589e8f43cbd47a4115c2e9afcf4d5cb
tree7cb64a8f07a9128a36a502658cfde8cfe1e0f35b
parent6ba2426089f6711ea058ecb9ace07cc057e671b6
Zero libnet_LookupName out struct before using

Zero libnet_LookupName out struct before setting results,
preventing false result interpretation.

Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
source4/libnet/libnet_lookup.c