The Samba-Bugzilla – Attachment 10984 Details for
Bug 11236
crash in rpc_server when altering dcerpc context with unregistered endpoint uuid
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch that fixes the issue described
0001-Fix-crash-when-querying-for-unknown-endpoints.patch (text/plain), 1.15 KB, created by
Julien Kerihuel (mail address dead)
on 2015-04-24 10:30:18 UTC
(
hide
)
Description:
patch that fixes the issue described
Filename:
MIME Type:
Creator:
Julien Kerihuel (mail address dead)
Created:
2015-04-24 10:30:18 UTC
Size:
1.15 KB
patch
obsolete
>From 03606ff5f36393cc4d08b490fe6c20da9ef54086 Mon Sep 17 00:00:00 2001 >From: Julien Kerihuel <j.kerihuel@openchange.org> >Date: Fri, 24 Apr 2015 12:19:29 +0200 >Subject: [PATCH] Fix crash when querying for unknown endpoints > >--- > source4/rpc_server/dcerpc_server.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c >index dbdc67f..be2fa66 100644 >--- a/source4/rpc_server/dcerpc_server.c >+++ b/source4/rpc_server/dcerpc_server.c >@@ -838,13 +838,13 @@ static NTSTATUS dcesrv_alter(struct dcesrv_call_state *call) > reason = DCERPC_BIND_REASON_ASYNTAX; > } > >- if ((call->pkt.pfc_flags & DCERPC_PFC_FLAG_CONC_MPX)) { >+ if ((result == 0 && call->pkt.pfc_flags & DCERPC_PFC_FLAG_CONC_MPX)) { > if (call->context->conn->state_flags & DCESRV_CALL_STATE_FLAG_MULTIPLEXED) { > extra_flags |= DCERPC_PFC_FLAG_CONC_MPX; > } > } > >- if (call->state_flags & DCESRV_CALL_STATE_FLAG_PROCESS_PENDING_CALL) { >+ if (result == 0 && call->state_flags & DCESRV_CALL_STATE_FLAG_PROCESS_PENDING_CALL) { > call->context->conn->state_flags |= DCESRV_CALL_STATE_FLAG_PROCESS_PENDING_CALL; > } > >-- >1.9.1 >
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
Actions:
View
Attachments on
bug 11236
:
10984
|
10986
|
10993
|
10994