summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-03 09:23:33 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-03 09:30:00 +0100
commit4902b71a607a0899d1a2d65b80eebdc121f4ef1d (patch)
tree8c88c05c5027a3d40836599cc1491310e3dd6910 /source4/rpc_server
parent5516191e7251c9f47a81702e3199b1af9c099f72 (diff)
downloadsamba-4902b71a607a0899d1a2d65b80eebdc121f4ef1d.tar.gz
samba-4902b71a607a0899d1a2d65b80eebdc121f4ef1d.tar.bz2
samba-4902b71a607a0899d1a2d65b80eebdc121f4ef1d.zip
s4:RPC server - always set the response pad data in base of the request one
Otherwise it could remain uninitialised - should fix bug #7769.
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/common/reply.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/rpc_server/common/reply.c b/source4/rpc_server/common/reply.c
index e5d97d17d1..83660c209b 100644
--- a/source4/rpc_server/common/reply.c
+++ b/source4/rpc_server/common/reply.c
@@ -221,6 +221,8 @@ _PUBLIC_ NTSTATUS dcesrv_reply(struct dcesrv_call_state *call)
pkt.u.response.alloc_hint = stub.length;
pkt.u.response.context_id = call->pkt.u.request.context_id;
pkt.u.response.cancel_count = 0;
+ pkt.u.response._pad.data = call->pkt.u.request._pad.data;
+ pkt.u.response._pad.length = call->pkt.u.request._pad.length;
pkt.u.response.stub_and_verifier.data = stub.data;
pkt.u.response.stub_and_verifier.length = length;