s4:torture/rpc: initialize struct dcerpc_binding completely
authorStefan Metzmacher <metze@samba.org>
Sun, 26 Jan 2014 09:11:03 +0000 (10:11 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 11 Feb 2014 15:20:29 +0000 (16:20 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source4/torture/rpc/epmapper.c

index c605a05f6a0e541efcadd296eff53ba3ca2d0000..9b6d9f89daa7453258e2c3e2e85f6859ffe2ffc3 100644 (file)
@@ -170,6 +170,7 @@ static bool test_Map_tcpip(struct torture_context *tctx,
        r.out.num_towers = &num_towers;
 
        /* Create map tower */
+       ZERO_STRUCT(map_binding);
        map_binding.transport = NCACN_IP_TCP;
        map_binding.object = map_syntax;
        map_binding.host = "0.0.0.0";