summaryrefslogtreecommitdiff
path: root/source4/rpc_server/netlogon
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-06-24 00:25:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:46 -0500
commitdb8c78c497be9406d45acd4cff1ebbb566c0356a (patch)
tree1a71ac00ffc5e4336be8708d0df16a0273b9fa88 /source4/rpc_server/netlogon
parentcf5fdae640e3678a68279b728d19a8aefb1b09ec (diff)
downloadsamba-db8c78c497be9406d45acd4cff1ebbb566c0356a.tar.gz
samba-db8c78c497be9406d45acd4cff1ebbb566c0356a.tar.bz2
samba-db8c78c497be9406d45acd4cff1ebbb566c0356a.zip
r1235: as the pidl code init all output data.
we should do it manualy too. metze (This used to be commit d3b80fd40a07575c18593523070986b7aed6de92)
Diffstat (limited to 'source4/rpc_server/netlogon')
-rw-r--r--source4/rpc_server/netlogon/dcerpc_netlogon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c
index ee3970d0f2..80bbb6b583 100644
--- a/source4/rpc_server/netlogon/dcerpc_netlogon.c
+++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c
@@ -294,7 +294,7 @@ static NTSTATUS netr_ServerAuthenticate(struct dcesrv_call_state *dce_call, TALL
struct netr_ServerAuthenticate *r)
{
struct netr_ServerAuthenticate3 r3;
- uint32_t rid;
+ uint32_t rid = 0;
/* TODO:
* negotiate_flags is used as an [in] parameter
* so it need to be initialised.
@@ -320,7 +320,7 @@ static NTSTATUS netr_ServerAuthenticate2(struct dcesrv_call_state *dce_call, TAL
struct netr_ServerAuthenticate2 *r)
{
struct netr_ServerAuthenticate3 r3;
- uint32 rid;
+ uint32 rid = 0;
r3.in.server_name = r->in.server_name;
r3.in.account_name = r->in.account_name;