1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source4/smbd
Ralph Boehme cfce21281a s4/messaging: messaging_dgm_ref talloc hierarchy fix
Ensure the messaging dgm context goes away *before* the tevent
context. The messaging dgm context will likely have active fd or timer
events, their rundown will touch the associated tevent context.

Otoh, I deliberately don't free the imessaging context here, that's going
to happen as part of freeing the talloc_autofree_context() as before. I
think it suffers the same problem, eg imessaging_deregister() works on
an imessaging_context that might already be freed. But as it works,
don't change it.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-13 00:19:26 +02:00
..
process_model.c Revert making public of the samba-module library. 2011-12-03 08:36:30 +01:00
process_model.h
process_single.c s4-process_single: Use pid,task_id as cluster_id in process_single just like process_prefork 2013-01-26 16:13:04 +01:00
process_standard.c Rely on /dev/urandom 2015-10-13 04:25:38 +02:00
server.c s4/messaging: messaging_dgm_ref talloc hierarchy fix 2016-09-13 00:19:26 +02:00
service_named_pipe.c s4:server_named_pipe: make sure we use lower case pipe name 2016-06-24 14:09:01 +02:00
service_stream.c s4: messaging: Remove bool auto_remove parameter from imessaging_init(). 2016-07-23 06:04:11 +02:00
service_stream.h server_id.idl: Bring server_id.idl in common 2011-06-09 12:40:08 +02:00
service_task.c s4: messaging: Remove bool auto_remove parameter from imessaging_init(). 2016-07-23 06:04:11 +02:00
service_task.h server_id.idl: Bring server_id.idl in common 2011-06-09 12:40:08 +02:00
service.c dlist: remove unneeded type argument from DLIST_ADD_END() 2016-02-06 21:48:17 +01:00
service.h
wscript_build Remove unused and untested source4 ntptr and spoolss systems 2016-07-19 13:41:11 +02:00