1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-30 08:23:49 +03:00

r18779: Not simo's fault, this is actually a bug I introduced a week ago, when I fixed the previous bug in this code.

We need to remove fragments from the incoming fragment list, or else
we leak (actually, we walk free()'ed data as we add/remove elements).

Andrew Bartlett
This commit is contained in:
Andrew Bartlett
2006-09-21 06:34:21 +00:00
committed by Gerald (Jerry) Carter
parent bcbe82873f
commit 77473d2ef9

View File

@@ -1056,7 +1056,10 @@ NTSTATUS dcesrv_input_process(struct dcesrv_connection *dce_conn)
DLIST_ADD_END(dce_conn->incoming_fragmented_call_list, call,
struct dcesrv_call_state *);
return NT_STATUS_OK;
}
}
/* This removes any fragments we may have had stashed away */
DLIST_REMOVE(dce_conn->incoming_fragmented_call_list, call);
switch (call->pkt.ptype) {
case DCERPC_PKT_BIND: