The Samba-Bugzilla – Attachment 8823 Details for
Bug 9382
dcerpc_pull_ncacn_packet doesn't support DCERPC_PFC_FLAG_OBJECT_UUID
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 3.6 and 4.0, same as what is in master
0001-s3-librpc-add-support-for-PFC_FLAG_OBJECT_UUID-when-.patch (text/plain), 1.09 KB, created by
David Disseldorp
on 2013-04-27 16:35:37 UTC
(
hide
)
Description:
patch for 3.6 and 4.0, same as what is in master
Filename:
MIME Type:
Creator:
David Disseldorp
Created:
2013-04-27 16:35:37 UTC
Size:
1.09 KB
patch
obsolete
>From e57e4b4887be74d13be4dd2650fd9789485188a7 Mon Sep 17 00:00:00 2001 >From: Stefan Metzmacher <metze@samba.org> >Date: Mon, 12 Nov 2012 10:16:50 +0100 >Subject: [PATCH] s3:librpc: add support for PFC_FLAG_OBJECT_UUID when parsing > packets (bug #9382) > >Now the logic matches the one in dcerpc_read_ncacn_packet_done(). > >Signed-off-by: Stefan Metzmacher <metze@samba.org> >Reviewed-by: Michael Adam <obnox@samba.org> >Reviewed-by: David Disseldorp <ddiss@suse.de> >--- > source3/librpc/rpc/dcerpc_helpers.c | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/source3/librpc/rpc/dcerpc_helpers.c b/source3/librpc/rpc/dcerpc_helpers.c >index 5f8c793..d36c2da 100644 >--- a/source3/librpc/rpc/dcerpc_helpers.c >+++ b/source3/librpc/rpc/dcerpc_helpers.c >@@ -111,6 +111,10 @@ NTSTATUS dcerpc_pull_ncacn_packet(TALLOC_CTX *mem_ctx, > ndr->flags |= LIBNDR_FLAG_BIGENDIAN; > } > >+ if (CVAL(blob->data, DCERPC_PFC_OFFSET) & DCERPC_PFC_FLAG_OBJECT_UUID) { >+ ndr->flags |= LIBNDR_FLAG_OBJECT_PRESENT; >+ } >+ > ndr_err = ndr_pull_ncacn_packet(ndr, NDR_SCALARS|NDR_BUFFERS, r); > > if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { >-- >1.8.1.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
metze
:
review+
Actions:
View
Attachments on
bug 9382
: 8823