[SCM] Samba Shared Repository - branch master updated -
370cc9c776bcde683b9cc9704a781b093cf3bdaa
Michael Adam
obnox at samba.org
Fri Dec 12 08:57:14 GMT 2008
The branch, master has been updated
via 370cc9c776bcde683b9cc9704a781b093cf3bdaa (commit)
from 3a45779f546ac0e7ca1871cdd2573bd84f952524 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 370cc9c776bcde683b9cc9704a781b093cf3bdaa
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Dec 12 09:51:44 2008 +0100
s4:fix segfault in rpc-server, when client binds to unsupported service.
Signed-off-by: Michael Adam <obnox at samba.org>
-----------------------------------------------------------------------
Summary of changes:
source4/rpc_server/dcerpc_server.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c
index 2c218bd..5f055ae 100644
--- a/source4/rpc_server/dcerpc_server.c
+++ b/source4/rpc_server/dcerpc_server.c
@@ -648,7 +648,7 @@ static NTSTATUS dcesrv_bind(struct dcesrv_call_state *call)
pkt.pfc_flags = DCERPC_PFC_FLAG_FIRST | DCERPC_PFC_FLAG_LAST | extra_flags;
pkt.u.bind_ack.max_xmit_frag = 0x2000;
pkt.u.bind_ack.max_recv_frag = 0x2000;
- pkt.u.bind_ack.assoc_group_id = call->context->assoc_group_id;
+ pkt.u.bind_ack.assoc_group_id = iface?call->context->assoc_group_id:0;
if (iface) {
/* FIXME: Use pipe name as specified by endpoint instead of interface name */
pkt.u.bind_ack.secondary_address = talloc_asprintf(call, "\\PIPE\\%s", iface->name);
--
Samba Shared Repository
More information about the samba-cvs
mailing list