mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s4:rpc_server: skip setting of dcerpc_request._pad
This is marked as [flag(NDR_ALIGN8)] DATA_BLOB _pad; and ndr_push_dcerpc_request() will just ignore the content and align to 8 bytes with zero padding. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
96d317def1
commit
071fe8d50f
@ -244,8 +244,6 @@ _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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user