r1146: initially zero server info
authorAndrew Tridgell <tridge@samba.org>
Mon, 14 Jun 2004 13:22:03 +0000 (13:22 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:56:40 +0000 (12:56 -0500)
source/auth/auth_util.c

index ba13fceab34c42fc6460f3db55a97d81cc0ce7d2..097f504538ece4dcfcbc736240be65cdf5042a86 100644 (file)
@@ -464,6 +464,7 @@ NTSTATUS make_server_info(struct auth_serversupplied_info **server_info,
                talloc_destroy(mem_ctx);
                return NT_STATUS_NO_MEMORY;
        }
+       ZERO_STRUCTP(*server_info);
        (*server_info)->mem_ctx = mem_ctx;
        
        return NT_STATUS_OK;