summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-05-26 10:43:19 +0200
committerStefan Metzmacher <metze@samba.org>2010-05-27 07:13:52 +0200
commit8c0be920442778c24e19f8a52d9f8bc385218834 (patch)
tree35c80e497642ca79db4c0d39c6e59e13834bca2f /source3/rpc_server
parent6a14dad13cc4b619a5901e54747085e81e42597d (diff)
downloadsamba-8c0be920442778c24e19f8a52d9f8bc385218834.tar.gz
samba-8c0be920442778c24e19f8a52d9f8bc385218834.tar.bz2
samba-8c0be920442778c24e19f8a52d9f8bc385218834.zip
s3:rpc_server: make sure we don't send uninitialized memory for the named_pipe_auth handshake
metze
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_pipe_hnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c
index 075d705ef0..7b8602b0d6 100644
--- a/source3/rpc_server/srv_pipe_hnd.c
+++ b/source3/rpc_server/srv_pipe_hnd.c
@@ -1033,7 +1033,7 @@ static struct np_proxy_state *make_external_rpc_pipe_p(TALLOC_CTX *mem_ctx,
}
unbecome_root();
- info3 = talloc(talloc_tos(), struct netr_SamInfo3);
+ info3 = talloc_zero(talloc_tos(), struct netr_SamInfo3);
if (info3 == NULL) {
DEBUG(0, ("talloc failed\n"));
goto fail;