1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/source4/lib
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
..
cmdline s4-lib/cmdline: Fix help for -P / --machine-pass: this no longer implies -k 2015-03-06 17:39:58 +01:00
com lib/dcom: use HRESULT in dcom_create_object. 2015-07-31 01:55:28 +02:00
events s4:lib/events: remove unused allow_warnings=True 2014-11-25 07:25:46 +01:00
http lib: Give base64.c its own .h 2016-05-04 01:28:23 +02:00
messaging s4/messaging: messaging_dgm_ref talloc hierarchy fix 2016-09-13 00:19:26 +02:00
policy s4-libgpo: fix gcc6 build warning. 2016-02-06 21:48:18 +01:00
registry s4:regshell: fix O3 error unused result of asprintf in reg_complete_key() 2016-05-13 00:16:16 +02:00
samba3 s4-lib/samba3: Remove unused smbpasswd_decode_acb_info() 2012-02-10 16:45:13 +11:00
socket lib: Fix a pointless error check 2016-08-05 22:20:05 +02:00
stream dlist: remove unneeded type argument from DLIST_ADD_END() 2016-02-06 21:48:17 +01:00
tls CVE-2016-2113: s4:lib/tls: implement infrastructure to do peer verification 2016-04-12 19:25:25 +02:00
wmi s4/lib/wmi_wrap: use HAVE___ATTRIBUTE__ instead of __GNUC__ 2016-03-24 15:13:15 +01:00